Skip to content

Commit

Permalink
Dockerfile: Use dnf
Browse files Browse the repository at this point in the history
  • Loading branch information
ondj committed Jan 2, 2022
1 parent b0eac13 commit 5388bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ FROM builder as jobber-build
RUN mkdir /tmp/jobber && \
cd /tmp/jobber && \
curl -L https://github.com/dshearer/jobber/archive/refs/tags/v1.4.4.tar.gz | tar zx --strip-components=1 && \
yum-builddep --assumeyes packaging/rpm/*.spec && \
dnf builddep --assumeyes packaging/rpm/*.spec && \
make -C packaging/rpm pkg-local "DESTDIR=/tmp/"

# MISP image
Expand Down Expand Up @@ -60,8 +60,8 @@ COPY snuffleupagus-misp.rules /etc/php.d/
COPY .jobber /root/
COPY supervisor.ini /etc/supervisord.d/misp.ini
RUN dnf install -y /tmp/jobber*.rpm && \
chmod u=rwx,g=rx,o=rx /usr/local/bin/* && \
pip3 install --disable-pip-version-check /wheels/* && \
chmod u=rwx,g=rx,o=rx /usr/local/bin/* && \
/usr/local/bin/misp_install.sh
COPY Config/* /var/www/MISP/app/Config/
RUN chmod u=r,g=r,o=r /var/www/MISP/app/Config/* && \
Expand Down

0 comments on commit 5388bb3

Please sign in to comment.