Skip to content

Commit

Permalink
Resolve Corrupted RPM Database
Browse files Browse the repository at this point in the history
The CentOS guys need to rebuild their image so that updates don't
apply later and corrupt their base image.

This fix seems to work for me.

Fix geerlingguy#7

Signed-off-by: David Brown <[email protected]>
  • Loading branch information
dmlb2000 committed May 7, 2020
1 parent 7b0f7b8 commit c64ed9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;

# Install requirements.
RUN yum -y install \
RUN dnf -y install rpm centos-release && \
dnf -y install \
epel-release \
initscripts \
sudo \
Expand Down

0 comments on commit c64ed9f

Please sign in to comment.