Dockerfile: use alpine 3.11

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-01-29 13:17:07 +01:00
parent 974375f66c
commit 016549532f
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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