Skip to content

Commit c53ed49

Browse files
author
Pushkar Acharya
committed
Use ubuntu:24.04 as base image
1 parent 7e034d7 commit c53ed49

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ RUN make cross
2323
################################################################
2424

2525
# Dockerfile.goreleaser should be kept roughly in sync
26-
FROM alpine:3.20.3
26+
FROM ubuntu:24.04
2727

2828
# Need to get these updates for k8s mount-utils library to work properly
29-
RUN apk update && \
30-
apk add --no-cache e2fsprogs-extra~=1.47.0 && \
31-
apk add --no-cache blkid~=2.40.1 && \
32-
apk add --no-cache xfsprogs-extra~=6.8.0 && \
33-
rm -rf /var/cache/apk/*
29+
RUN apt-get update && \
30+
apt-get install -y --no-install-recommends \
31+
e2fsprogs \
32+
util-linux \
33+
xfsprogs && \
34+
rm -rf /var/lib/apt/lists/*
3435

3536
COPY --from=builder /build/dist/crusoe-csi-driver /usr/local/go/bin/crusoe-csi-driver
3637

0 commit comments

Comments
 (0)