Skip to content

Commit

Permalink
fix: also update Dockerfile.goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement Liaw committed Nov 23, 2024
1 parent 0632409 commit eae9c74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUN make cross
################################################################
# STEP 2: build a small image and run crusoe-csi-driver binary #
################################################################

# Dockerfile.goreleaser should be kept roughly in sync
FROM alpine:3.20.3

# Need to get these updates for k8s mount-utils library to work properly
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
################################################################
# STEP 2: build a small image and run crusoe-csi-driver binary #
################################################################
FROM alpine
FROM alpine:3.20.3

# Need to get these updates for k8s mount-utils library to work properly
RUN apk update && \
apk add --no-cache e2fsprogs && \
apk add --no-cache blkid && \
apk add --no-cache e2fsprogs-extra~=1.47.0 && \
apk add --no-cache blkid~=2.40.1 && \
apk add --no-cache xfsprogs-extra~=6.8.0 && \
rm -rf /var/cache/apk/*

COPY crusoe-csi-driver /usr/local/go/bin/crusoe-csi-driver
Expand Down

0 comments on commit eae9c74

Please sign in to comment.