From 016549532f29fad544bf554fc8ae6c710e20b785 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 29 Jan 2020 13:17:07 +0100 Subject: [PATCH] Dockerfile: use alpine 3.11 Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5aeb33619..033b6eb43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG GO_VERSION=1.13.7 -FROM golang:${GO_VERSION}-alpine AS build +FROM golang:${GO_VERSION}-alpine3.11 AS build ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution ENV BUILDTAGS include_oss include_gcs @@ -18,7 +18,7 @@ WORKDIR $DISTRIBUTION_DIR COPY . $DISTRIBUTION_DIR RUN CGO_ENABLED=0 make PREFIX=/go clean binaries && file ./bin/registry | grep "statically linked" -FROM alpine:3.10 +FROM alpine:3.11 RUN set -ex \ && apk add --no-cache ca-certificates apache2-utils