Skip to content

Commit

Permalink
Merge pull request #86 from JedMeister/18.x-container-improvements
Browse files Browse the repository at this point in the history
remove more packages when building containers
  • Loading branch information
JedMeister authored Feb 12, 2025
2 parents 4aa54fb + 7182234 commit 2d8a0c2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions patches/container/conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@ apt-get -y purge "$OLD_META_KERNEL" "$OLD_KERNEL"
# stop auto-secupdates complaining
mkdir -p /lib/modules

# remove ntp, jitterentropy & acpi daemons
apt-get purge -y ntpsec jitterentropy-rngd acpid || true
# remove packages that are problematic, redundant and/or not usable in a
# container
apt-get purge -y \
ntpsec \
jitterentropy-rngd \
acpid \
fdisk webmin-fdisk \
lvm2 webmin-lvm \
webmin-raid webmin-mount \
|| true

# disable ssh.socket so that sshd runs reliably - closes #1722
systemctl mask ssh.socket
Expand Down

0 comments on commit 2d8a0c2

Please sign in to comment.