Bump Golang to 1.15
and Alpine to 3.12
.
Signed-off-by: olegburov <oleg.burov@outlook.com>
This commit is contained in:
parent
f89664f7d1
commit
49f7426dcb
5 changed files with 52 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue