mirror of
https://github.com/goharbor/harbor
synced 2025-04-20 16:16:00 +00:00
update nginx in Makefile
This commit is contained in:
parent
4fcfffeb47
commit
018b32a1b4
6
Makefile
6
Makefile
|
@ -263,7 +263,7 @@ package_offline: compile build modify_composefile
|
||||||
|
|
||||||
@echo "pulling nginx and registry..."
|
@echo "pulling nginx and registry..."
|
||||||
$(DOCKERPULL) registry:2.5.0
|
$(DOCKERPULL) registry:2.5.0
|
||||||
$(DOCKERPULL) nginx:1.9
|
$(DOCKERPULL) nginx:1.11.5
|
||||||
|
|
||||||
@echo "saving harbor docker image"
|
@echo "saving harbor docker image"
|
||||||
$(DOCKERSAVE) -o $(HARBORPKG)/$(DOCKERIMGFILE).$(VERSIONTAG).tgz \
|
$(DOCKERSAVE) -o $(HARBORPKG)/$(DOCKERIMGFILE).$(VERSIONTAG).tgz \
|
||||||
|
@ -271,7 +271,7 @@ package_offline: compile build modify_composefile
|
||||||
$(DOCKERIMAGENAME_LOG):$(VERSIONTAG) \
|
$(DOCKERIMAGENAME_LOG):$(VERSIONTAG) \
|
||||||
$(DOCKERIMAGENAME_DB):$(VERSIONTAG) \
|
$(DOCKERIMAGENAME_DB):$(VERSIONTAG) \
|
||||||
$(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG) \
|
$(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG) \
|
||||||
nginx:1.9 registry:2.5.0
|
nginx:1.11.5 registry:2.5.0
|
||||||
|
|
||||||
@$(TARCMD) -zcvf harbor-offline-installer-$(VERSIONTAG).tgz \
|
@$(TARCMD) -zcvf harbor-offline-installer-$(VERSIONTAG).tgz \
|
||||||
--exclude=$(HARBORPKG)/common/db --exclude=$(HARBORPKG)/ubuntu \
|
--exclude=$(HARBORPKG)/common/db --exclude=$(HARBORPKG)/ubuntu \
|
||||||
|
@ -329,7 +329,7 @@ cleanimage:
|
||||||
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG)
|
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG)
|
||||||
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_LOG):$(VERSIONTAG)
|
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_LOG):$(VERSIONTAG)
|
||||||
#- $(DOCKERRMIMAGE) -f registry:2.5.0
|
#- $(DOCKERRMIMAGE) -f registry:2.5.0
|
||||||
#- $(DOCKERRMIMAGE) -f nginx:1.9
|
#- $(DOCKERRMIMAGE) -f nginx:1.11.5
|
||||||
|
|
||||||
cleandockercomposefile:
|
cleandockercomposefile:
|
||||||
@echo "cleaning $(DOCKERCOMPOSEFILEPATH)/docker-compose.$(VERSIONTAG).yml"
|
@echo "cleaning $(DOCKERCOMPOSEFILEPATH)/docker-compose.$(VERSIONTAG).yml"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
FROM library/nginx:1.9
|
FROM library/nginx:1.11.5
|
||||||
|
|
||||||
ADD ./config/nginx /etc/nginx
|
ADD ./config/nginx /etc/nginx
|
||||||
|
|
Loading…
Reference in New Issue
Block a user