Skip to content

Commit 4028705

Browse files
author
Pushkar Acharya
committed
Update Dockerfile.goreleaser to match Dockerfile
1 parent 51ed384 commit 4028705

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

Dockerfile.goreleaser

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
################################################################
22
# STEP 2: build a small image and run crusoe-csi-driver binary #
33
################################################################
4-
FROM alpine:3.20.3
4+
FROM ubuntu:24.04
55

66
# Need to get these updates for k8s mount-utils library to work properly
7-
RUN apk update && \
8-
apk add --no-cache e2fsprogs-extra~=1.47.0 && \
9-
apk add --no-cache blkid~=2.40.1 && \
10-
apk add --no-cache xfsprogs-extra~=6.8.0 && \
11-
rm -rf /var/cache/apk/*
7+
RUN apt-get update && \
8+
apt-get install -y --no-install-recommends \
9+
ca-certificates \
10+
e2fsprogs \
11+
nfs-common \
12+
util-linux \
13+
xfsprogs && \
14+
rm -rf /var/lib/apt/lists/*
1215

1316
COPY crusoe-csi-driver /usr/local/go/bin/crusoe-csi-driver
1417

0 commit comments

Comments
 (0)