Skip to content

Commit

Permalink
docker: remove unnecessary perl-base package from image
Browse files Browse the repository at this point in the history
Signed-off-by: Andras Timar <[email protected]>
Change-Id: I50321d563eff98bd6102a9ec4fa2ab2fdacf6dea
  • Loading branch information
timar committed Oct 27, 2023
1 parent 123bf5c commit 8a5a1b7
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docker/from-packages/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,8 @@ RUN --mount=type=secret,id=secret_key \
fi && \
# Fix ownership of config directory that will be modified on start of the container by cool user
chown cool:cool /etc/coolwsd && \
# Remove packages that are not needed
# FIXME: long way to go, the commands below remove coolwsd, too.
# apt-get remove -y --allow-remove-essential adduser apt bsdutils debconf debian-archive-keyring debianutils \
# diffutils dpkg e2fsprogs findutils gcc-10-base gcc-9-base gpgv grep gzip hostname init-system-helpers \
# login logsave mawk mount ncurses-base ncurses-bin passwd perl-base sed sysvinit-utils tar util-linux \
# cpio tzdata libcap2-bin apt-transport-https gnupg2 ca-certificates curl && \
# apt-get remove -y --allow-remove-essential cpio tzdata libcap2-bin apt-transport-https gnupg2 ca-certificates curl \
# mount e2fsprogs dpkg apt && \
# Remove perl-base, it's not needed and triggered some license scanner because of Paul Hsieh derivative license
dpkg --purge --force-remove-essential --ignore-depends=perl-base perl-base && \
# Cleanup
rm -rf /var/lib/apt/* && \
# Remove WOPI Proof key generated by the package, we need unique key for each container
Expand Down

0 comments on commit 8a5a1b7

Please sign in to comment.