Last active
May 27, 2016 18:12
-
-
Save BlackMaria/88271577a5fd6b236ebd4bad64ce0cca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EPOCH=$(shell date +%s ) | |
NAME=application | |
build: | |
docker build -t ${NAME}:${EPOCH} . | |
@docker rmi ${NAME}:latest >& /dev/null || echo ${NAME}:latest created | |
docker tag ${NAME}:${EPOCH} ${NAME}:latest | |
export: | |
docker save ${NAME}:latest > ${NAME}:latest.tgz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment