Skip to content

Commit

Permalink
Update Dockerfile to work with F41
Browse files Browse the repository at this point in the history
Some dnf options have been modified/removed in fedora 41 and the
Dockerfile has been update to the new options.
  • Loading branch information
fmarco76 committed Oct 30, 2024
1 parent 9fd6f3f commit a02aeba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ WORKDIR /root/pki

# Install PKI build dependencies
RUN dnf install -y rpm-build \
&& dnf builddep -y --skip-unavailable --spec pki.spec \
&& dnf builddep -y --skip-unavailable pki.spec \
&& rpm -e --nodeps $(rpm -qa | grep -E "^dogtag-|^python3-dogtag-") \
&& dnf clean all \
&& rm -rf /var/cache/dnf
Expand All @@ -64,7 +64,7 @@ COPY --from=quay.io/dogtagpki/jss-dist:latest /root/RPMS /tmp/RPMS/
COPY --from=quay.io/dogtagpki/ldapjdk-dist:latest /root/RPMS /tmp/RPMS/

# Install build dependencies
RUN dnf localinstall -y /tmp/RPMS/* \
RUN dnf install -y /tmp/RPMS/* \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& rm -rf /tmp/RPMS
Expand Down Expand Up @@ -95,7 +95,7 @@ COPY --from=quay.io/dogtagpki/ldapjdk-dist:latest /root/RPMS /tmp/RPMS/
COPY --from=pki-dist /root/RPMS /tmp/RPMS/

# Install runtime packages
RUN dnf localinstall -y /tmp/RPMS/* \
RUN dnf install -y /tmp/RPMS/* \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& rm -rf /tmp/RPMS
Expand Down

0 comments on commit a02aeba

Please sign in to comment.