Skip to content

Commit

Permalink
update Dockerfile to use golang:1.22.5-alpine3.19 and update go.mod file
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-acquia committed Jul 23, 2024
1 parent 304c7be commit 15e7f59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 ./
Expand All @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 15e7f59

Please sign in to comment.