Created
March 21, 2019 19:59
-
-
Save Gounlaf/e96e593f2a1268ac8ede0998a3c6378c to your computer and use it in GitHub Desktop.
Phiremock shipped in a Docker container (buggy version + tests)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#FROM phpearth/php:7.3-cli | |
#FROM phpearth/php:7.1-cli | |
FROM php:7.0-cli | |
EXPOSE 80 | |
ADD https://github.com/mcustiel/phiremock/raw/master/phiremock.phar /usr/local/bin/phiremock.phar | |
#ADD https://github.com/mcustiel/phiremock/releases/download/v1.11.1/phiremock.phar /usr/local/bin/phiremock.phar | |
#ADD https://github.com/mcustiel/phiremock/releases/download/v1.10.0/phiremock.phar /usr/local/bin/phiremock.phar | |
CMD php /usr/local/bin/phiremock.phar -p 80 -i 0.0.0.0 | |
##RUN apk add --no-cache composer php7.3-xdebug git zip | |
#RUN apk add --no-cache composer php7.2-xdebug git zip | |
#WORKDIR /opt/app | |
#ADD composer.mockserver.json /opt/app/composer.json | |
#RUN composer install | |
##CMD php ./vendor/bin/phiremock -p 80 -i 0.0.0.0 | |
#CMD php ./vendor/mcustiel/phiremock/phiremock.phar -p 80 -i 0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment