diff --git a/build/containers/archive-analysis/Dockerfile b/build/containers/archive-analysis/Dockerfile index 6b78413b97..242e6d9ff7 100644 --- a/build/containers/archive-analysis/Dockerfile +++ b/build/containers/archive-analysis/Dockerfile @@ -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 selinux-policy-targeted RUN ./Makepkgs --verbose RUN mkdir /build && \ diff --git a/build/containers/pcp/Dockerfile b/build/containers/pcp/Dockerfile index f1c20c6cb7..82f7d2da5e 100644 --- a/build/containers/pcp/Dockerfile +++ b/build/containers/pcp/Dockerfile @@ -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 selinux-policy-targeted RUN ./Makepkgs --verbose RUN mkdir /build && \