From 7b2da6f5b9b020f84747dcd69114bfc800d49c7b Mon Sep 17 00:00:00 2001 From: Agus Lopez Date: Fri, 10 Nov 2023 11:41:08 +0100 Subject: [PATCH] Build image for Fedora 39 --- .github/workflows/build.yml | 7 +++++-- Containerfile => Containerfile.38 | 0 Containerfile.39 | 12 ++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) rename Containerfile => Containerfile.38 (100%) create mode 100644 Containerfile.39 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9235e57..78d4b0b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,9 +37,12 @@ jobs: strategy: fail-fast: false matrix: - major_version: [38] + major_version: [38, 39] include: - major_version: 38 + is_latest: false + is_stable: false + - major_version: 39 is_latest: true is_stable: true @@ -136,7 +139,7 @@ jobs: uses: redhat-actions/buildah-build@v2 with: containerfiles: | - ./Containerfile + ./Containerfile.${{ matrix.major_version }} tags: | ${{ steps.meta.outputs.tags }} ${{ steps.meta_pr.outputs.tags }} diff --git a/Containerfile b/Containerfile.38 similarity index 100% rename from Containerfile rename to Containerfile.38 diff --git a/Containerfile.39 b/Containerfile.39 new file mode 100644 index 0000000..0502c37 --- /dev/null +++ b/Containerfile.39 @@ -0,0 +1,12 @@ +ARG FEDORA_MAJOR_VERSION=39 + +FROM quay.io/fedora/fedora-silverblue:${FEDORA_MAJOR_VERSION} +# See https://pagure.io/releng/issue/11047 for final location + +COPY rootfs/ / + +RUN systemctl enable rpm-ostree-kargs.service && \ + rpm-ostree install chromium haveged && \ + rpm-ostree override remove firefox firefox-langpacks && \ + rpm-ostree cleanup -m && \ + ostree container commit