Skip to content

Commit c75abf6

Browse files
jackorpphracek
authored andcommitted
Use gcc-toolset-13 for nodejs 22 on RHEL 8.
1 parent 3105cd1 commit c75abf6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

22/Dockerfile.rhel8

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ LABEL summary="$SUMMARY" \
5454
usage="s2i build <SOURCE-REPOSITORY> ubi8/$NAME-$NODEJS_VERSION:latest <APP-NAME>"
5555

5656
RUN dnf -y module enable nodejs:$NODEJS_VERSION && \
57-
MODULE_DEPS="make gcc-toolset-14-gcc gcc-toolset-14-gcc-c++ gcc-toolset-14-runtime \
57+
MODULE_DEPS="make gcc-toolset-13-gcc gcc-toolset-13-gcc-c++ gcc-toolset-13-runtime \
5858
libatomic_ops git openssl-devel python3.12" && \
5959
INSTALL_PKGS="$MODULE_DEPS nodejs npm nodejs-nodemon nss_wrapper-libs which" && \
6060
ln -s /usr/lib/node_modules/nodemon/bin/nodemon.js /usr/bin/nodemon && \
@@ -77,9 +77,9 @@ RUN chown -R 1001:0 ${APP_ROOT} && chmod -R ug+rwx ${APP_ROOT} && \
7777
USER 1001
7878

7979
# Enable the SCL for all bash scripts.
80-
ENV BASH_ENV=/opt/rh/gcc-toolset-14/enable \
81-
ENV=/opt/rh/gcc-toolset-14/enable \
82-
PROMPT_COMMAND=". /opt/rh/gcc-toolset-14/enable"
80+
ENV BASH_ENV=/opt/rh/gcc-toolset-13/enable \
81+
ENV=/opt/rh/gcc-toolset-13/enable \
82+
PROMPT_COMMAND=". /opt/rh/gcc-toolset-13/enable"
8383

8484
# Set the default CMD to print the usage of the language image
8585
CMD $STI_SCRIPTS_PATH/usage

0 commit comments

Comments
 (0)