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 18
18
.PHONY : build-nginx
19
19
build-nginx :
20
20
@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} ; \
22
22
if [ $$ ? -ne 0 ] ; \
23
23
then echo " ${RED} Build failed :(${NC} " ; \
24
24
else echo " ${GREEN} ✓ Successfully built NGINX module ${NC} " ; fi
25
25
26
26
.PHONY : rebuild-nginx
27
27
rebuild-nginx :
28
28
@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} ; \
30
30
if [ $$ ? -ne 0 ] ; \
31
31
then echo " ${RED} Build failed :(${NC} " ; \
32
32
else echo " ${GREEN} ✓ Successfully rebuilt NGINX module ${NC} " ; fi
You can’t perform that action at this time.
0 commit comments