From 92d86d32aa087778ba55357a9691f3f0a55f2986 Mon Sep 17 00:00:00 2001 From: anishakj <43978302+anishakj@users.noreply.github.com> Date: Wed, 25 Aug 2021 10:32:20 +0530 Subject: [PATCH] Updating alpine image (#573) Signed-off-by: anishakj --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99a6a6bf6..010f2db28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ # http://www.apache.org/licenses/LICENSE-2.0 # ARG DOCKER_REGISTRY -ARG GO_VERSION=1.13.8 -ARG ALPINE_VERSION=3.11 +ARG GO_VERSION=1.16 +ARG ALPINE_VERSION=3.14 FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}golang:${GO_VERSION}-alpine${ALPINE_VERSION} as go-builder @@ -25,6 +25,7 @@ WORKDIR /src COPY pkg ./pkg COPY cmd ./cmd COPY go.mod ./ +COPY go.sum ./ # Download all dependencies. RUN go mod download