mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-03 09:33:43 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			319 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			319 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM golang:1.10.1-alpine
 | 
						|
 | 
						|
ENV NOTARYPKG github.com/theupdateframework/notary
 | 
						|
 | 
						|
# 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" ]
 |