From 15e7f5973239060efe8bd04d6d4e1ac8d05be284 Mon Sep 17 00:00:00 2001 From: yash-acquia <144701738+yash-acquia@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:15:00 +0530 Subject: [PATCH] update Dockerfile to use golang:1.22.5-alpine3.19 and update go.mod file --- Dockerfile | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d4ea9ff..fe98490 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/golang:1.20.4-alpine3.17 as builder +FROM docker.io/library/golang:1.22.5-alpine3.19 as builder RUN apk add --no-cache btrfs-progs-dev lvm2-dev make build-base WORKDIR /go/src/container-image-csi-driver COPY go.mod go.sum ./ @@ -12,7 +12,7 @@ RUN make install-util FROM scratch as install-util COPY --from=builder /go/src/container-image-csi-driver/_output/warm-metal-csi-image-install / -FROM alpine:3.17 +FROM alpine:3.19 RUN apk add --no-cache btrfs-progs-dev lvm2-dev WORKDIR / COPY --from=builder /go/src/container-image-csi-driver/_output/csi-image-plugin /usr/bin/ diff --git a/go.mod b/go.mod index f889757..ca8db34 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/warm-metal/container-image-csi-driver -go 1.21.11 +go 1.22.5 require ( github.com/BurntSushi/toml v1.2.0