Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Improvements to dockerfile and docker-compose.yml for PHP5.6 #44

Open
wants to merge 2 commits into
base: php5.6
Choose a base branch
from
Open

Improvements to dockerfile and docker-compose.yml for PHP5.6 #44

wants to merge 2 commits into from

Conversation

angelmadames
Copy link

Summary

  • Removed provision.sh and added its steps to the Dockerfile.
  • Replaced mariadb service in docker-compose with official mariadb image.
  • Node version bumped to 10.x.
  • Used ondrej PHP repository instead of default APT.
  • Added Yarn.
  • Mailparse inclusion now by default with a package.
  • Replaced MAINTAINER directive for LABEL.
  • Updated docker-compose file version to 3.7.
  • Composer binary installed directly to /usr/local/bin.
  • Re-organized comments for easier read in small windows and terminals.

Additional Notes

If this looks good to you, I can open the PRs for the other branches (specific to each PHP version).

Also, wanted to thank you for your work on this project since I have used it in a similar fashion in one of my repositories. I modified the serve.sh methodology for something different thus I decided to just rename the project (although I mentioned you in the README.md as a source for what I did, hope you don't mind the forking skip).

Any concerns please let me know!

- Removed provision.sh and added its steps to the Dockerfile.
- Replaced mariadb service in docker-compose with official mariadb image.
- Node version bumped to 10.x.
- Used ondrej PHP repository instead of default APT.
- Added Yarn.
- Mailparse inclusion now by default with a package.
- Replaced MAINTAINER directive for LABEL.
- Updated docker-compose file version to 3.7.
- Composer binary installed directly to /usr/local/bin.
- Re-organized comments for easier read in small windows and terminals.
@jaouadk
Copy link
Owner

jaouadk commented Oct 10, 2019

Awesome work! I had plans to move everything to the Dockerfile to leverage caching when building the image. Lack of time!!!

Let's do this for the php7.3 branch (master).

Thanks again for your valuable contribution!

@angelmadames
Copy link
Author

@ShinCoder Cool! I'll open the PRs for all the branches on your repo including the php7.3. Anything you'll like to add, feel free to tell me and I'll look into it.

@angelmadames angelmadames changed the title Improvements to dockerfile and docker-compose.yml Improvements to dockerfile and docker-compose.yml for PHP5.6 Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants