Skip to content

Commit 3fcc8da

Browse files
committed
Remove zypper
Signed-off-by: Derek Nola <derek.nola@suse.com> Revert "Remove zypper" This reverts commit fb1db98. x Signed-off-by: Derek Nola <derek.nola@suse.com>
1 parent e698fca commit 3fcc8da

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

images/nginx/rootfs/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,14 @@ RUN zypper install -y --allow-vendor-change \
5757
libicu73_2 \
5858
liblua5_4-5 \
5959
make \
60-
tar \
61-
gzip \
6260
procps \
6361
catatonit
6462

63+
# Remove zypper and other unnecessary packages
64+
RUN zypper -n clean -a && rm -rf /tmp/* /var/tmp/* /usr/share/doc/packages && \
65+
rpm -e libsolv-tools-base zypper libzypp libaugeas0 libfa1 container-suseconnect \
66+
libyaml-cpp0_6 boost-license1_66_0 libboost_system1_66_0 libboost_thread1_66_0
67+
6568
RUN ldDirs=" \
6669
/usr/local/lib \
6770
/usr/local/lib64 \

0 commit comments

Comments
 (0)