Skip to content

Commit

Permalink
Remove enable nodejs 18.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmds committed Oct 6, 2023
1 parent c89f3da commit a7ecb79
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions 8.0/build/Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM ubi8/dotnet-80-runtime

ARG DOTNET_TARBALL

ENV PATH=/opt/app-root/src/.local/bin:/opt/app-root/src/bin:/opt/app-root/node_modules/.bin:/opt/app-root/.dotnet/tools/:${PATH} \
ENV PATH=/opt/app-root/src/.local/bin:/opt/app-root/src/bin:/opt/app-root/.dotnet/tools/:${PATH} \
STI_SCRIPTS_PATH=/usr/libexec/s2i \
DOTNET_GENERATE_ASPNET_CERTIFICATE=false \
# This skips the first time running text
Expand All @@ -31,7 +31,6 @@ COPY ./s2i/bin/ /usr/libexec/s2i
# - procps-ng: provides 'pidof' which is needed by the 'odo' Devfile to find the running 'dotnet' process.
RUN [ -n "${DOTNET_TARBALL}" ] || ( \
INSTALL_PKGS="dotnet-sdk-8.0 procps-ng" && \
microdnf -y module enable nodejs:18 && \
microdnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
microdnf clean all -y && \
Expand All @@ -40,7 +39,6 @@ RUN [ -n "${DOTNET_TARBALL}" ] || ( \
# Tarball install (in the runtime base image)
RUN [ -z "${DOTNET_TARBALL}" ] || ( \
INSTALL_PKGS="procps-ng" && \
microdnf -y module enable nodejs:18 && \
microdnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
microdnf clean all -y && \
Expand Down

0 comments on commit a7ecb79

Please sign in to comment.