26 lines
804 B
Docker
26 lines
804 B
Docker
FROM golang:1.4.2
|
|
|
|
MAINTAINER J.C. Jones "jjones@letsencrypt.org"
|
|
|
|
# Boulder exposes its web application at port TCP 4000
|
|
EXPOSE 4000
|
|
|
|
# Assume the configuration is in /etc/boulder
|
|
ENV BOULDER_CONFIG /go/src/github.com/letsencrypt/boulder/test/example-config.json
|
|
|
|
# Copy in the Boulder sources
|
|
RUN mkdir -p /go/src/github.com/letsencrypt/boulder
|
|
COPY . /go/src/github.com/letsencrypt/boulder
|
|
|
|
# Build Boulder
|
|
RUN go install \
|
|
github.com/letsencrypt/boulder/cmd/activity-monitor \
|
|
github.com/letsencrypt/boulder/cmd/boulder \
|
|
github.com/letsencrypt/boulder/cmd/boulder-ca \
|
|
github.com/letsencrypt/boulder/cmd/boulder-ra \
|
|
github.com/letsencrypt/boulder/cmd/boulder-sa \
|
|
github.com/letsencrypt/boulder/cmd/boulder-va \
|
|
github.com/letsencrypt/boulder/cmd/boulder-wfe
|
|
|
|
CMD ["/go/bin/boulder"]
|