24 lines
718 B
Docker
24 lines
718 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-08-03
|
|
|
|
# Boulder exposes its web application at port TCP 4000
|
|
EXPOSE 4000 4002 4003 8053 8055
|
|
|
|
ENV PATH /go/bin:/usr/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/
|
|
ENV GOPATH /go
|
|
|
|
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" ]
|