Skip to content

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