diff --git a/codepot/docker/Makefile.am b/codepot/docker/Makefile.am index 9ab33a6d..54b292ca 100644 --- a/codepot/docker/Makefile.am +++ b/codepot/docker/Makefile.am @@ -1,13 +1,15 @@ +DOCKER ?= docker + all: @echo "Choose one of the following targets:" @echo " rocky84 ubnt2004" ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz - docker build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@ + $(DOCKER) build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@ || true rm -f @srcdir@/codepot-@VERSION@.tar.gz rocky84: @srcdir@/codepot-@VERSION@.tar.gz - docker build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@ + $(DOCKER) build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@ || true rm -f @srcdir@/codepot-@VERSION@.tar.gz @srcdir@/codepot-@VERSION@.tar.gz: diff --git a/codepot/docker/Makefile.in b/codepot/docker/Makefile.in index 703613af..091f2d67 100644 --- a/codepot/docker/Makefile.in +++ b/codepot/docker/Makefile.in @@ -407,16 +407,18 @@ uninstall-am: .PRECIOUS: Makefile +DOCKER ?= docker + all: @echo "Choose one of the following targets:" @echo " rocky84 ubnt2004" ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz - docker build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@ + $(DOCKER) build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@ || true rm -f @srcdir@/codepot-@VERSION@.tar.gz rocky84: @srcdir@/codepot-@VERSION@.tar.gz - docker build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@ + $(DOCKER) build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@ || true rm -f @srcdir@/codepot-@VERSION@.tar.gz @srcdir@/codepot-@VERSION@.tar.gz: