diff --git a/Makefile b/Makefile index 991d2c7..244905d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -# Check if we need to prepend docker commands with sudo +# Check if we need to prepend docker commands with sudo. SUDO := $(shell docker version >/dev/null 2>&1 || echo "sudo") -# If TAG is not provided set default value +# If TAG is not provided set default value. TAG ?= stellar/stellar-dashboard:$(shell git rev-parse --short HEAD)$(and $(shell git status -s),-dirty-$(shell id -u -n)) # https://github.com/opencontainers/image-spec/blob/master/annotations.md BUILD_DATE := $(shell date -u +%FT%TZ)