Skip to content

Commit

Permalink
Merge pull request #1 from brunopadz/main
Browse files Browse the repository at this point in the history
Update mkcert version
  • Loading branch information
brunopadz authored Jul 15, 2022
2 parents 2e08fee + 696bb9b commit ec6b1ad
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 ec6b1ad

Please sign in to comment.