diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4d40b1e --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +build: + docker build -t php-hell-oworld . + +run: + docker run php-hell-oworld + +clean: + docker rmi -f php-hell-oworld + diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..e330d99 --- /dev/null +++ b/Readme.md @@ -0,0 +1,12 @@ +# Docker testing +```sh +docker build -t php-hell-oworld . # build +docker run php-hell-oworld # run +docker rmi -f php-hell-oworld # clean +``` + +```sh +make build # build -t php-hell-oworld . +make run # docker run php-hell-oworld +make clean # docker rmi -f php-hell-oworld +```