Upgrading to ZFS 2.6 and Silverblue 40

This commit is contained in:
Ben Radey
2025-01-26 09:43:50 -05:00
parent bd40be5eb3
commit 69d46bdc7e
+3 -3
View File
@@ -1,4 +1,4 @@
# ====== Stage 1: Builder image ======
j# ====== Stage 1: Builder image ======
FROM fedora:latest AS builder
RUN dnf update -y && dnf install -y git golang
@@ -10,12 +10,12 @@ WORKDIR /gocryptfs
RUN ./build-without-openssl.bash
# ====== Stage 2: Server image ======
FROM quay.io/fedora/fedora-silverblue:39
FROM quay.io/fedora/fedora-silverblue:40
COPY --from=builder /gocryptfs/gocryptfs /usr/bin/gocryptfs
# Install ZFS repository
RUN rpm-ostree install https://github.com/zfsonlinux/zfsonlinux.github.com/raw/master/fedora/zfs-release-2-4$(rpm --eval "%{dist}").noarch.rpm && \
RUN rpm-ostree install https://github.com/zfsonlinux/zfsonlinux.github.com/raw/master/fedora/zfs-release-2-6$(rpm --eval "%{dist}").noarch.rpm && \
# cleanup and verification stage
rm -vrf /var /*.rpm && \
ostree container commit