We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed71af0 commit ab62202Copy full SHA for ab62202
1 file changed
dockerfile/daemon.dockerfile
@@ -22,11 +22,9 @@ ENV JAVA_HOME=/opt/java/openjdk
22
COPY --from=temurin-stage $JAVA_HOME $JAVA_HOME
23
ENV PATH="${JAVA_HOME}/bin:${PATH}"
24
25
-RUN apt-get update && \
26
- apt-get install -y --no-install-recommends \
27
- nodejs \
28
- npm && \
29
- rm -rf /var/lib/apt/lists/*
+RUN apt-get update && apt-get install -y curl &&\
+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash &&\
+ apt-get update && apt-get install -y nodejs && apt-get clean
30
31
COPY --from=builder /src/production-code/daemon/ /opt/mcsmanager/daemon/
32
0 commit comments