more hacks to docker build files

This commit is contained in:
hyung-hwan 2021-09-08 12:58:56 +00:00
parent ef726593ee
commit 2259c736df
2 changed files with 12 additions and 12 deletions

View File

@ -2,13 +2,13 @@ all:
@echo "Choose one of the following targets:" @echo "Choose one of the following targets:"
@echo " rocky84 ubnt2004" @echo " rocky84 ubnt2004"
ubnt2004: codepot-@VERSION@.tar.gz ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz
docker build -t codepot:ubnt20.04 -f Dockerfile.ubnt2004 @srcdir@ docker build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@
rocky84: codepot-@VERSION@.tar.gz rocky84: @srcdir@/codepot-@VERSION@.tar.gz
docker build -t codepot:rocky8.4 -f Dockerfile.rocky84 @srcdir@ docker build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@
codepot-@VERSION@.tar.gz: @srcdir@/codepot-@VERSION@.tar.gz:
cd .. && make dist cd .. && make dist
cp ../codepot-@VERSION@.tar.gz . cp ../codepot-@VERSION@.tar.gz @srcdir@/

View File

@ -411,15 +411,15 @@ all:
@echo "Choose one of the following targets:" @echo "Choose one of the following targets:"
@echo " rocky84 ubnt2004" @echo " rocky84 ubnt2004"
ubnt2004: codepot-@VERSION@.tar.gz ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz
docker build -t codepot:ubnt20.04 -f Dockerfile.ubnt2004 @srcdir@ docker build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@
rocky84: codepot-@VERSION@.tar.gz rocky84: @srcdir@/codepot-@VERSION@.tar.gz
docker build -t codepot:rocky8.4 -f Dockerfile.rocky84 @srcdir@ docker build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@
codepot-@VERSION@.tar.gz: @srcdir@/codepot-@VERSION@.tar.gz:
cd .. && make dist cd .. && make dist
cp ../codepot-@VERSION@.tar.gz . cp ../codepot-@VERSION@.tar.gz @srcdir@/
# Tell versions [3.59,3.63) of GNU make to not export all variables. # Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded. # Otherwise a system limit (for SysV at least) may be exceeded.