Skip to content

Commit b5ddaa3

Browse files
committed
remove symlinks.
NodeJS is not installed by default Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 9960668 commit b5ddaa3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

24/Dockerfile.rhel10

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ LABEL summary="$SUMMARY" \
5656
RUN INSTALL_PKGS="make gcc gcc-c++ git openssl-devel nodejs$NODEJS_VERSION nodejs-nodemon nodejs$NODEJS_VERSION-npm nss_wrapper-libs which" && \
5757
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
5858
rpm -V $INSTALL_PKGS && \
59-
rm /usr/bin/node && ln -s /usr/bin/node-$NODEJS_VERSION /usr/bin/node && \
60-
rm /usr/bin/npm && ln -s /usr/bin/npm-$NODEJS_VERSION /usr/bin/npm && \
61-
rm /usr/bin/npx && ln -s /usr/bin/npx-$NODEJS_VERSION /usr/bin/npx && \
59+
ln -s /usr/bin/node-$NODEJS_VERSION /usr/bin/node && \
60+
ln -s /usr/bin/npm-$NODEJS_VERSION /usr/bin/npm && \
61+
ln -s /usr/bin/npx-$NODEJS_VERSION /usr/bin/npx && \
6262
node -v | grep -qe "^v$NODEJS_VERSION\." && echo "Found VERSION $NODEJS_VERSION" && \
6363
dnf -y clean all --enablerepo='*'
6464

0 commit comments

Comments
 (0)