Skip to content

Commit

Permalink
Build image for Fedora 39
Browse files Browse the repository at this point in the history
  • Loading branch information
aguslr committed Nov 10, 2023
1 parent 97c6953 commit 7b2da6f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 }}
Expand Down
File renamed without changes.
12 changes: 12 additions & 0 deletions Containerfile.39
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7b2da6f

Please sign in to comment.