To use these images, please refer to example yml files:
-
Clone this project
git clone https://github.com/DATA-DOG/dockerfiles.git ~/.datadog-dockerfiles
-
Add to your
~/.bashrc
fileexport PATH=$PATH:~/.datadog-dockerfiles/bin alias run-behat="docker-compose exec --user www php /var/www/vendor/bin/behat" alias run-unit="docker-compose exec --user www php /var/www/vendor/bin/phpunit" alias dc="docker-compose"
service nginx stop && service apache2 stop
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
Run on computer startup:
cd ~/.datadog-dockerfiles/proxy;
dc up -d;
cd ~/.datadog-dockerfiles/php-base;
./build.sh 70 1.0.0 # to build 7.0 with tag 1.0.0