Skip to content

Commit

Permalink
Update Dockerfile: do not block container build on selinux-policy
Browse files Browse the repository at this point in the history
The selinux-policy is only in old Fedora composes.
New Fedora composes do not contain it.
  • Loading branch information
kurik authored Dec 16, 2024
1 parent df7f552 commit 9ebb463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/containers/archive-analysis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY . /usr/src/pcp
WORKDIR /usr/src/pcp
RUN dnf install -y git which rpm-build 'dnf-command(builddep)'
RUN dnf builddep -y build/rpm/redhat.spec
RUN dnf remove -y selinux-policy
RUN dnf remove -y selinux-policy || true

RUN ./Makepkgs --verbose
RUN mkdir /build && \
Expand Down

0 comments on commit 9ebb463

Please sign in to comment.