Skip to content

Commit 3c67ae6

Browse files
committed
Fix Node installation
Built-in Node version (without npm) was conflicting with freshly installed one
1 parent be301bc commit 3c67ae6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ENV PATH="/usr/local/go/bin:${PATH}"
2929

3030
# Install Node.js (LTS)
3131
ARG NODE_VERSION=22.21.0
32+
RUN apt remove nodejs
3233
RUN apt-get install -y -qq --no-install-recommends nodejs npm && \
3334
npm install -g n && n install ${NODE_VERSION}
3435

0 commit comments

Comments
 (0)