Skip to content

Commit

Permalink
tasks: use distro packages for ruff, pyyaml types
Browse files Browse the repository at this point in the history
Fedora packages both of these now, so we don't need to worry about
installing them via pip.
  • Loading branch information
allisonkarlitskaya committed Apr 24, 2024
1 parent fdc1387 commit f322b7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasks/container/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ RUN dnf -y update && \
python3-pytest-asyncio \
python3-pytest-timeout \
python3-pyyaml \
python3-types-pyyaml \
python3-vulture \
python3-wheel \
qemu-kvm-core \
rpm-build \
rpmdevtools \
rsync \
ruff \
socat \
strace \
tar \
Expand All @@ -66,8 +68,7 @@ RUN dnf -y update && \
curl -o /tmp/cockpit.spec -s https://raw.githubusercontent.com/cockpit-project/cockpit/main/tools/cockpit.spec && \
dnf -y builddep --setopt=install_weak_deps=False /tmp/cockpit.spec && \
rm /tmp/cockpit.spec && \
dnf clean all && \
pip install ruff types-PyYAML
dnf clean all

COPY cockpit-tasks webhook github_handler.py /usr/local/bin/

Expand Down

0 comments on commit f322b7a

Please sign in to comment.