Skip to content

Commit

Permalink
two fixes for our dnf problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Jan 16, 2024
1 parent 169502b commit 7115589
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion demo/builder-support/dockerfiles/Dockerfile.target.rocky-8
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ FROM rockylinux:8 as dist-base
ARG BUILDER_CACHE_BUSTER=
#RUN dnf install -y epel-release
# Python 3.4+ is needed for the builder helpers
RUN dnf install -y /usr/bin/python3
# Exactly Python 3.6 is needed for `import dnf`
RUN dnf install -y python36
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
RUN dnf install -y dnf-plugins-core
RUN dnf config-manager --set-enabled powertools
Expand Down
2 changes: 1 addition & 1 deletion helpers/generate-dnf-provenance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/libexec/platform-python
"""
This script uses yum and rpm to generate in-toto material provenance and
writes the resulting JSON to stdout or to argv[0] if provided.
Expand Down

0 comments on commit 7115589

Please sign in to comment.