Skip to content

Commit

Permalink
Update mkcert version
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopadz committed Jul 15, 2022
1 parent 2e08fee commit 696bb9b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM golang:1.12-alpine
FROM alpine:3.15.4 AS build

RUN apk --no-cache add git
WORKDIR /mkcert

RUN go get -u github.com/FiloSottile/mkcert
RUN apk --no-cache add curl
RUN curl -JLO "https://dl.filippo.io/mkcert/v1.4.4?for=linux/amd64" && \
chmod +x mkcert-v1.4.4-linux-amd64

CMD ["mkcert"]
FROM scratch

COPY --from=build /mkcert/mkcert-v1.4.4-linux-amd64 ./mkcert

CMD ["./mkcert"]

0 comments on commit 696bb9b

Please sign in to comment.