1
0
mirror of https://github.com/go-acme/lego.git synced 2025-01-29 00:09:58 +02:00
lego/Dockerfile

16 lines
375 B
Docker
Raw Normal View History

FROM golang:1.13-alpine3.10 as builder
RUN apk --no-cache --no-progress add make git
2019-03-11 17:56:48 +01:00
WORKDIR /go/src/github.com/go-acme/lego
COPY . .
2018-11-05 17:54:38 +01:00
RUN make build
FROM alpine:3.10
2019-04-18 19:44:44 +02:00
RUN apk update \
&& apk add --no-cache ca-certificates tzdata \
&& update-ca-certificates
2019-03-11 17:56:48 +01:00
COPY --from=builder /go/src/github.com/go-acme/lego/dist/lego /usr/bin/lego
ENTRYPOINT [ "/usr/bin/lego" ]