Jirafeau/dev.sh
Jerome Jutteau 39a36cda14 Simpler docker dev env
Note: ._* files are created due to docker file system sync, ignore them

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
2017-01-22 14:00:40 +01:00

6 lines
213 B
Bash
Executable File

#!/bin/bash
jroot=$(cd "$(dirname $0)" && pwd)
docker -h &> /dev/null || (echo "You need docker installed" && exit 1)
docker pull tutum/apache-php
docker run -v $jroot:/app -t -i --rm -p 8080:80 tutum/apache-php