Upgrading to ZFS 2.6 and Silverblue 40
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# ====== Stage 1: Builder image ======
|
j# ====== Stage 1: Builder image ======
|
||||||
FROM fedora:latest AS builder
|
FROM fedora:latest AS builder
|
||||||
|
|
||||||
RUN dnf update -y && dnf install -y git golang
|
RUN dnf update -y && dnf install -y git golang
|
||||||
@@ -10,12 +10,12 @@ WORKDIR /gocryptfs
|
|||||||
RUN ./build-without-openssl.bash
|
RUN ./build-without-openssl.bash
|
||||||
|
|
||||||
# ====== Stage 2: Server image ======
|
# ====== 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
|
COPY --from=builder /gocryptfs/gocryptfs /usr/bin/gocryptfs
|
||||||
|
|
||||||
# Install ZFS repository
|
# 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
|
# cleanup and verification stage
|
||||||
rm -vrf /var /*.rpm && \
|
rm -vrf /var /*.rpm && \
|
||||||
ostree container commit
|
ostree container commit
|
||||||
|
|||||||
Reference in New Issue
Block a user