Skip to content

Commit

Permalink
ubi-clean module: Add an explanatory comment
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd authored and Jonathan Dowland committed Jun 11, 2021
1 parent 68b7a02 commit d299333
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jboss/container/util/ubi-clean/configure.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# This list of packages was arrived at by running the following in a
# UBI/OpenJDK container, in an environment *without any redhat entitlements* to
# be sure the repodata is ONLY that available via normal UBI channels and not
# the wider RHEL8 or anything else:
# rpm -qa --queryformat "%{NAME}\n" \
# | while read pkg; do microdnf repoquery $pkg 2>/dev/null | grep -q $pkg || echo $pkg; done

microdnf remove grub2-common \
dejavu-sans-mono-fonts \
memstrack \
Expand Down

0 comments on commit d299333

Please sign in to comment.