Bump Golang to 1.15 and Alpine to 3.12.

Signed-off-by: olegburov <oleg.burov@outlook.com>
This commit is contained in:
olegburov 2020-08-21 19:04:11 -07:00 committed by Oleg Burov
parent f89664f7d1
commit 49f7426dcb
No known key found for this signature in database
GPG key ID: EFB6618C78FA7458
5 changed files with 52 additions and 6 deletions

View file

@ -1,6 +1,6 @@
ARG GO_VERSION=1.13.8
ARG GO_VERSION=1.15
FROM golang:${GO_VERSION}-alpine3.11 AS build
FROM golang:${GO_VERSION}-alpine3.12 AS build
ENV DISTRIBUTION_DIR /go/src/github.com/distribution/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.11
FROM alpine:3.12
RUN set -ex \
&& apk add --no-cache ca-certificates