WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 25b662c

Browse files
committed
Update RPMs with dnf when building container images
this will pull the latest RPMs even when the base image has not been updated recently.
1 parent 050508c commit 25b662c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM centos:centos8
22

33
RUN dnf -y --setopt=tsflags=nodocs install python3 mariadb mariadb-connector-c postgresql \
44
httpd python3-mod_wsgi mod_ssl sscg && \
5+
dnf -y --setopt=tsflags=nodocs -y update && \
56
dnf clean all
67

78
# Apache configuration for non-root users

Dockerfile.buildroot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM centos:centos8
22

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

78

0 commit comments

Comments
 (0)