Skip to content

DATA-DOG/dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfiles for devs

Examples with docker-compose

To use these images, please refer to example yml files:

Helpers

  1. Clone this project

    git clone https://github.com/DATA-DOG/dockerfiles.git ~/.datadog-dockerfiles

  2. Add to your ~/.bashrc file

    export 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"
    

Using docker-gen

for Docker-Compose v1

service nginx stop && service apache2 stop
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy

for Docker-Compose v2

Run on computer startup:

cd ~/.datadog-dockerfiles/proxy;
dc up -d;

building php

cd ~/.datadog-dockerfiles/php-base;
./build.sh 70 1.0.0 # to build 7.0 with tag 1.0.0

About

Base Dockerfiles for dev environments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published