From d6ebf071254bffb4ebfc783f56764e27c1e20156 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Thu, 9 Jul 2020 21:43:00 +0800 Subject: [PATCH] Using Alpine Linux 3.12 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24930fe..b6f4a68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \ go build -trimpath -tags netgo -ldflags '-extldflags "-static" -s -w' -o /usr/bin/caddy # Fetch the latest default welcome page and default Caddy config -FROM alpine:3.11.3 AS fetch-assets +FROM harbor.ervine.org/library/x86_64/alpine:3.12 AS fetch-assets RUN apk add --no-cache git @@ -29,7 +29,7 @@ RUN git checkout $DIST_COMMIT RUN cp config/Caddyfile /Caddyfile RUN cp welcome/index.html /index.html -FROM alpine:3.11.3 AS alpine +FROM harbor.ervine.org/library/x86_64/alpine:3.12 AS alpine COPY --from=builder /usr/bin/caddy /usr/bin/caddy COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs