25 lines
		
	
	
		
			737 B
		
	
	
	
		
			Docker
		
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			737 B
		
	
	
	
		
			Docker
		
	
	
	
# To minimize the fetching of various layers this image and tag should
 | 
						|
# be used as the base of the bhsm container in boulder/docker-compose.yml
 | 
						|
FROM letsencrypt/boulder-tools:2016-11-02
 | 
						|
 | 
						|
# Boulder exposes its web application at port TCP 4000
 | 
						|
EXPOSE 4000 4002 4003 8053 8055
 | 
						|
 | 
						|
ENV PATH /usr/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/
 | 
						|
ENV GOPATH /go
 | 
						|
ENV GO15VENDOREXPERIMENT=1
 | 
						|
 | 
						|
RUN adduser --disabled-password --gecos "" --home /go/src/github.com/letsencrypt/boulder -q buser
 | 
						|
RUN chown -R buser /go/
 | 
						|
 | 
						|
WORKDIR /go/src/github.com/letsencrypt/boulder
 | 
						|
 | 
						|
# Copy in the Boulder sources
 | 
						|
COPY . .
 | 
						|
RUN mkdir bin
 | 
						|
RUN GOBIN=/usr/local/bin go install ./cmd/rabbitmq-setup
 | 
						|
 | 
						|
RUN chown -R buser /go/
 | 
						|
 | 
						|
ENTRYPOINT [ "./test/entrypoint.sh" ]
 |