Skip to content

Commit

Permalink
Update RPMs with dnf when building container images
Browse files Browse the repository at this point in the history
this will pull the latest RPMs even when the base image has not
been updated recently.
  • Loading branch information
atodorov committed Sep 16, 2020
1 parent 050508c commit 25b662c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM centos:centos8

RUN dnf -y --setopt=tsflags=nodocs install python3 mariadb mariadb-connector-c postgresql \
httpd python3-mod_wsgi mod_ssl sscg && \
dnf -y --setopt=tsflags=nodocs -y update && \
dnf clean all

# Apache configuration for non-root users
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.buildroot
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM centos:centos8

RUN dnf -y --setopt=tsflags=nodocs install python3-virtualenv mariadb-connector-c-devel \
postgresql-devel libffi-devel gcc gettext npm unzip which && \
dnf -y --setopt=tsflags=nodocs -y update && \
dnf clean all


Expand Down

0 comments on commit 25b662c

Please sign in to comment.