fixing docker build files

This commit is contained in:
2021-09-08 12:48:57 +00:00
parent 7864b517e5
commit 20d736f718
53 changed files with 144 additions and 185 deletions

View File

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