Skip to content

Commit

Permalink
Remove dnf config-manager after its use
Browse files Browse the repository at this point in the history
We don't really need it in the final image

Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
  • Loading branch information
elfosardo committed Jul 3, 2024
1 parent ebb862c commit 0376db8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prepare-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarc
dnf config-manager --set-disabled epel
dnf install -y --enablerepo=epel inotify-tools

dnf remove -y 'dnf-command(config-manager)'

# NOTE(elfosardo): we need to reinstall tzdata as the base CS9 container removes
# its content, for more info see https://bugzilla.redhat.com/show_bug.cgi?id=2052861
dnf reinstall -y tzdata
Expand Down

0 comments on commit 0376db8

Please sign in to comment.