Skip to content

Commit

Permalink
Updated to Fedora 41 and added python3-dnf, as dnf is now provided by…
Browse files Browse the repository at this point in the history
… dnf5 and no longer present by default
  • Loading branch information
Fan authored and yselkowitz committed Nov 12, 2024
1 parent b1f98e9 commit 83b8f50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
setup_and_test:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:40
image: registry.fedoraproject.org/fedora:41
steps:

- name: Checkout code
Expand All @@ -18,7 +18,7 @@ jobs:
run: dnf -y update fedora-gpg-keys

- name: Install git and Python libraries
run: dnf -y install git-core python3-yaml python3-jinja2 python3-koji python3-pytest python3-flake8
run: dnf -y install git-core python3-yaml python3-jinja2 python3-koji python3-pytest python3-flake8 python3-dnf

- name: Clean up
run: dnf clean all
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from registry.fedoraproject.org/fedora:40
FROM registry.fedoraproject.org/fedora:41

run dnf -y update fedora-gpg-keys && \
dnf -y install git python3-jinja2 python3-koji python3-yaml && \
dnf clean all
workdir /workspace
RUN dnf -y update fedora-gpg-keys && \
dnf -y install git python3-jinja2 python3-koji python3-yaml python3-dnf && \
dnf clean all

WORKDIR /workspace

0 comments on commit 83b8f50

Please sign in to comment.