From 96c736ed7332e74a3a0e5c416f5e18349f051ae4 Mon Sep 17 00:00:00 2001 From: Sajia Zafreen Date: Wed, 27 Sep 2023 14:17:25 -0700 Subject: [PATCH] Bump Go version to 1.20 to build Skopeo --- builder-base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder-base/Dockerfile b/builder-base/Dockerfile index 54ede1488..6095c5d20 100644 --- a/builder-base/Dockerfile +++ b/builder-base/Dockerfile @@ -312,7 +312,7 @@ ENV SKOPEO_VERSION=$SKOPEO_VERSION WORKDIR /workdir ENV GOPATH /go ENV PATH="/go/bin/:$PATH" -COPY --link --from=golang-1.16 /golang-1.16 / +COPY --link --from=golang-1.20 /golang-1.20 / COPY ./scripts/install_base_yum_packages.sh ./scripts/remove_yum_packages.sh ./scripts/install_gcc_yum_packages.sh ./scripts/common_vars.sh \ ./scripts/install_skopeo.sh / RUN --mount=type=cache,target=/root/.cache/go-build,sharing=locked \