mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-03 09:33:43 +08:00 
			
		
		
		
	update the dependency to v0.7.0 to be closer to what docker/cli uses; https://github.com/theupdateframework/notary/compare/v0.6.1...v0.7.0 Note that docker/cli is slightly ahead of v0.7.0, and uses bf96a202a09a; https://github.com/theupdateframework/notary/compare/v0.7.0...bf96a202a09a Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
		
			
				
	
	
		
			18 lines
		
	
	
		
			338 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			338 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM golang:1.14.1-alpine
 | 
						|
 | 
						|
ENV NOTARYPKG github.com/theupdateframework/notary
 | 
						|
ENV GO111MODULE=on
 | 
						|
 | 
						|
# Copy the local repo to the expected go path
 | 
						|
COPY . /go/src/${NOTARYPKG}
 | 
						|
 | 
						|
WORKDIR /go/src/${NOTARYPKG}
 | 
						|
 | 
						|
EXPOSE 4450
 | 
						|
 | 
						|
# Install escrow
 | 
						|
RUN go install ${NOTARYPKG}/cmd/escrow
 | 
						|
 | 
						|
ENTRYPOINT [ "escrow" ]
 | 
						|
CMD [ "-config=cmd/escrow/config.toml" ]
 |