converting docker/Makefile to docker/Makefile.am

This commit is contained in:
hyung-hwan 2021-09-08 11:59:01 +00:00
parent 1e8a22729a
commit 7864b517e5
2 changed files with 10 additions and 3 deletions

View File

@ -118,6 +118,10 @@ AC_CONFIG_FILES([
DEBIAN/control
DEBIAN/postinst
DEBIAN/postrm
docker/Makefile
src/Makefile
src/config.php
src/codepot/config/Makefile
src/codepot/controllers/Makefile
@ -163,7 +167,6 @@ AC_CONFIG_FILES([
src/system/database/Makefile
src/system/Makefile
src/Makefile
])
AC_OUTPUT

View File

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