File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818.PHONY : build-nginx
1919build-nginx :
2020 @echo " ${BLUE} Building...${NC} "
21- @docker image build -t $(DOCKER_ORG_NAME ) /$(DOCKER_IMAGE_NAME ) . ; \
21+ @docker image build -t $(DOCKER_ORG_NAME ) /$(DOCKER_IMAGE_NAME ) . --build-arg NGINX_VERSION= ${NGINX_VERSION} ; \
2222 if [ $$ ? -ne 0 ] ; \
2323 then echo " ${RED} Build failed :(${NC} " ; \
2424 else echo " ${GREEN} ✓ Successfully built NGINX module ${NC} " ; fi
2525
2626.PHONY : rebuild-nginx
2727rebuild-nginx :
2828 @echo " ${BLUE} Rebuilding...${NC} "
29- @docker image build -t $(DOCKER_ORG_NAME ) /$(DOCKER_IMAGE_NAME ) . --no-cache ; \
29+ @docker image build -t $(DOCKER_ORG_NAME ) /$(DOCKER_IMAGE_NAME ) . --no-cache --build-arg NGINX_VERSION= ${NGINX_VERSION} ; \
3030 if [ $$ ? -ne 0 ] ; \
3131 then echo " ${RED} Build failed :(${NC} " ; \
3232 else echo " ${GREEN} ✓ Successfully rebuilt NGINX module ${NC} " ; fi
You can’t perform that action at this time.
0 commit comments