compose upgrade
This commit is contained in:
		@@ -12,7 +12,11 @@ EXPOSE 49618
 | 
			
		||||
WORKDIR /go/src/oc-catalog
 | 
			
		||||
 | 
			
		||||
#######################################################
 | 
			
		||||
RUN go get github.com/beego/bee/v2
 | 
			
		||||
 | 
			
		||||
COPY go.mod .
 | 
			
		||||
COPY go.sum .
 | 
			
		||||
 | 
			
		||||
RUN go get github.com/beego/bee/v2 && go install github.com/beego/bee/v2@master
 | 
			
		||||
 | 
			
		||||
# Manually download swagger during build
 | 
			
		||||
RUN ["/bin/bash", "-c", \
 | 
			
		||||
@@ -21,8 +25,6 @@ RUN ["/bin/bash", "-c", \
 | 
			
		||||
    curl -sL https://github.com/beego/swagger/archive/v3.tar.gz | tar xvvvz --overwrite -C swagger --strip-components=1"]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
COPY go.mod .
 | 
			
		||||
COPY go.sum .
 | 
			
		||||
RUN go mod download -x
 | 
			
		||||
 | 
			
		||||
# COPY . .
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user