diff --git a/Makefile b/Makefile index e9a1148..416f9be 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,11 @@ help: @echo "-- Help Menu" @echo "" @echo " 1. make build - build the saltstack-master image" - @echo " 2. make quickstart - start saltstack-master" - @echo " 3. make stop - stop saltstack-master" - @echo " 4. make purge - stop and remove the container" - @echo " 5. make logs - view logs" + @echo " 2. make release - build the saltstack-master image and tag it" + @echo " 3. make quickstart - start saltstack-master" + @echo " 4. make stop - stop saltstack-master" + @echo " 5. make purge - stop and remove the container" + @echo " 6. make log - view log" build: @docker build --tag=cdalvaro/saltstack-master . \ @@ -30,7 +31,7 @@ quickstart: --volume $(shell pwd)/keys/:/home/salt/data/keys/ \ --volume $(shell pwd)/logs/:/home/salt/data/logs/ \ cdalvaro/saltstack-master:latest - @echo "Type 'make logs' for the logs" + @echo "Type 'make log' for the log" stop: @echo "Stopping container..." @@ -40,5 +41,5 @@ purge: stop @echo "Removing stopped container..." @docker rm saltstack-master-demo > /dev/null -logs: +log: @docker logs --follow saltstack-master-demo