fixing docker build files

This commit is contained in:
hyung-hwan 2021-09-08 13:07:25 +00:00
parent e80da8b5ac
commit 8d3d079ff3
2 changed files with 8 additions and 4 deletions

View File

@ -1,13 +1,15 @@
DOCKER ?= docker
all: all:
@echo "Choose one of the following targets:" @echo "Choose one of the following targets:"
@echo " rocky84 ubnt2004" @echo " rocky84 ubnt2004"
ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz 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 rm -f @srcdir@/codepot-@VERSION@.tar.gz
rocky84: @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 rm -f @srcdir@/codepot-@VERSION@.tar.gz
@srcdir@/codepot-@VERSION@.tar.gz: @srcdir@/codepot-@VERSION@.tar.gz:

View File

@ -407,16 +407,18 @@ uninstall-am:
.PRECIOUS: Makefile .PRECIOUS: Makefile
DOCKER ?= docker
all: all:
@echo "Choose one of the following targets:" @echo "Choose one of the following targets:"
@echo " rocky84 ubnt2004" @echo " rocky84 ubnt2004"
ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz 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 rm -f @srcdir@/codepot-@VERSION@.tar.gz
rocky84: @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 rm -f @srcdir@/codepot-@VERSION@.tar.gz
@srcdir@/codepot-@VERSION@.tar.gz: @srcdir@/codepot-@VERSION@.tar.gz: