Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Dockerfile for a PHP5.6 dev environment #233

Merged
merged 1 commit into from
Jun 28, 2022
Merged

Add a Dockerfile for a PHP5.6 dev environment #233

merged 1 commit into from
Jun 28, 2022

Conversation

cjw6k
Copy link
Contributor

@cjw6k cjw6k commented May 10, 2022

I didn't have a development setup running PHP5.6 so I put one together in the
form of the php56.Dockerfile.

Build the dockerfile:
docker build -f php56.Dockerfile -t php-mf2:5.6 .

Run the container and launch bash:
docker run -it --rm php-mf2:5.6 bash

I mostly need this to run the test suite, so I added some scripts into
composer.json for phpcs and phpunit w/ code coverage. The container will run
the check-and-test-all script automatically if no other script is provided:
docker run -it --rm php-mf2:5.6

I didn't have a development setup running PHP5.6 so I put one together in the
form of the php56.Dockerfile.

Build the dockerfile:
`docker build -f php56.Dockerfile -t php-mf2:5.6 .`

Run the container and launch bash:
`docker run -it --rm php-mf2:5.6 bash`

I mostly need this to run the test suite, so I added some scripts into
composer.json for phpcs and phpunit w/ code coverage. The container will run
the check-and-test-all script automatically if no other script is provided:
`docker run -it --rm php-mf2:5.6`
@barnabywalters barnabywalters merged commit aed8632 into microformats:main Jun 28, 2022
@barnabywalters
Copy link
Collaborator

Looks good, thanks!

@cjw6k cjw6k deleted the add-php5.6-dockerfile branch August 27, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants