We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c67ae6 commit 67e76f5Copy full SHA for 67e76f5
Dockerfile
@@ -29,7 +29,8 @@ ENV PATH="/usr/local/go/bin:${PATH}"
29
30
# Install Node.js (LTS)
31
ARG NODE_VERSION=22.21.0
32
-RUN apt remove nodejs
+# remove built-in version to avoid the different path from interfering with new version one
33
+RUN apt remove -y nodejs
34
RUN apt-get install -y -qq --no-install-recommends nodejs npm && \
35
npm install -g n && n install ${NODE_VERSION}
36
0 commit comments