From 5580ba35068df8cb653a49bea31d0826ec8a9942 Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Wed, 6 Mar 2024 14:47:14 +0000 Subject: [PATCH] chore(build): fix golang and alpine version As standard build is done with concourse, we need to manage those version in docker file. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d99a234..9fd206cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM golang AS builder +FROM golang:1.21.6 AS builder ADD . /go/src/github.com/telia-oss/github-pr-resource WORKDIR /go/src/github.com/telia-oss/github-pr-resource RUN curl -sL https://taskfile.dev/install.sh | sh /dev/stdin v3.33.1 RUN ./bin/task build -FROM alpine AS resource +FROM alpine:3.19.1 AS resource COPY --from=builder /go/src/github.com/telia-oss/github-pr-resource/build /opt/resource RUN apk add --update --no-cache \ git \