Adding gocryptfs builder and updating to Fedora 39
This commit is contained in:
@@ -1,7 +1,21 @@
|
|||||||
FROM ghcr.io/cgwalters/fedora-silverblue:38
|
# ====== Stage 1: Builder image ======
|
||||||
|
FROM fedora:latest AS builder
|
||||||
|
|
||||||
|
RUN dnf update -y && dnf install -y git golang
|
||||||
|
|
||||||
|
RUN git clone https://github.com/rfjakob/gocryptfs.git
|
||||||
|
|
||||||
|
WORKDIR /gocryptfs
|
||||||
|
|
||||||
|
RUN ./build-without-openssl.bash
|
||||||
|
|
||||||
|
# ====== Stage 2: Server image ======
|
||||||
|
FROM quay.io/fedora/fedora-silverblue:39
|
||||||
|
|
||||||
|
COPY --from=builder /gocryptfs/gocryptfs /usr/bin/gocryptfs
|
||||||
|
|
||||||
# Install ZFS repository
|
# Install ZFS repository
|
||||||
RUN rpm-ostree install https://zfsonlinux.org/fedora/zfs-release-2-3$(rpm --eval "%{dist}").noarch.rpm && \
|
RUN rpm-ostree install https://github.com/zfsonlinux/zfsonlinux.github.com/raw/master/fedora/zfs-release-2-4$(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