Skip to content

Commit e05d811

Browse files
committed
Remove unnecessary nodejs dependencies.
Remove following dependencies: findutils, tar, which. Since nodejs24 has been already minimized there isn't that much that can be safely removed. These changes save the container aprx. 1MB in size.
1 parent 1b88d12 commit e05d811

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

24-minimal/Dockerfile.c10s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ LABEL summary="$SUMMARY" \
4949
help="For more information visit https://github.com/sclorg/s2i-nodejs-container"
5050

5151
# nodejs-full-i18n is included for error strings
52-
RUN INSTALL_PKGS="nodejs$NODEJS_VERSION nodejs-nodemon nodejs$NODEJS_VERSION-full-i18n nodejs$NODEJS_VERSION-npm findutils tar which" && \
52+
RUN INSTALL_PKGS="nodejs$NODEJS_VERSION nodejs-nodemon nodejs$NODEJS_VERSION-full-i18n nodejs$NODEJS_VERSION-npm" && \
5353
microdnf -y --nodocs --setopt=install_weak_deps=0 install $INSTALL_PKGS && \
5454
microdnf clean all && \
5555
ln -s /usr/bin/node-$NODEJS_VERSION /usr/bin/node && \

0 commit comments

Comments
 (0)