mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
Merge pull request #3592 from yixingjia/fixclairversion
Fix clair images version issue
This commit is contained in:
commit
a0bd3ed8db
6
Makefile
6
Makefile
@ -92,7 +92,7 @@ REBUILDCLARITYFLAG=false
|
|||||||
NEWCLARITYVERSION=
|
NEWCLARITYVERSION=
|
||||||
|
|
||||||
#clair parameters
|
#clair parameters
|
||||||
CLAIRVERSION=v2.0.1
|
CLAIRVERSION=v2.0.1-photon
|
||||||
CLAIRFLAG=false
|
CLAIRFLAG=false
|
||||||
CLAIRDBVERSION=9.6.5-photon
|
CLAIRDBVERSION=9.6.5-photon
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ ifeq ($(NOTARYFLAG), true)
|
|||||||
DOCKERCOMPOSE_LIST+= -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSENOTARYFILENAME)
|
DOCKERCOMPOSE_LIST+= -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSENOTARYFILENAME)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CLAIRFLAG), true)
|
ifeq ($(CLAIRFLAG), true)
|
||||||
DOCKERSAVE_PARA+= vmware/clair-photon:$(CLAIRVERSION) vmware/postgresql:$(CLAIRDBVERSION)
|
DOCKERSAVE_PARA+= vmware/clair:$(CLAIRVERSION) vmware/postgresql:$(CLAIRDBVERSION)
|
||||||
PACKAGE_OFFLINE_PARA+= $(HARBORPKG)/$(DOCKERCOMPOSECLAIRFILENAME)
|
PACKAGE_OFFLINE_PARA+= $(HARBORPKG)/$(DOCKERCOMPOSECLAIRFILENAME)
|
||||||
PACKAGE_ONLINE_PARA+= $(HARBORPKG)/$(DOCKERCOMPOSECLAIRFILENAME)
|
PACKAGE_ONLINE_PARA+= $(HARBORPKG)/$(DOCKERCOMPOSECLAIRFILENAME)
|
||||||
DOCKERCOMPOSE_LIST+= -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSECLAIRFILENAME)
|
DOCKERCOMPOSE_LIST+= -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSECLAIRFILENAME)
|
||||||
@ -375,7 +375,7 @@ package_offline: compile build modify_sourcefiles modify_composefile
|
|||||||
fi
|
fi
|
||||||
@if [ "$(CLAIRFLAG)" = "true" ] ; then \
|
@if [ "$(CLAIRFLAG)" = "true" ] ; then \
|
||||||
echo "pulling claiy and postgres..."; \
|
echo "pulling claiy and postgres..."; \
|
||||||
$(DOCKERPULL) vmware/clair-photon:$(CLAIRVERSION); \
|
$(DOCKERPULL) vmware/clair:$(CLAIRVERSION); \
|
||||||
$(DOCKERPULL) vmware/postgresql:$(CLAIRDBVERSION); \
|
$(DOCKERPULL) vmware/postgresql:$(CLAIRDBVERSION); \
|
||||||
fi
|
fi
|
||||||
@if [ "$(MIGRATORFLAG)" = "true" ] ; then \
|
@if [ "$(MIGRATORFLAG)" = "true" ] ; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user