add node+npm LTS install

This commit is contained in:
Andy Bunce 2022-08-08 11:31:55 +01:00
parent 1770b9eb34
commit c758fbcd64
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ RUN curl https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.
ln -s apache-maven-3.8.6 maven ln -s apache-maven-3.8.6 maven
ENV PATH=$PATH:/usr/local/bin/maven/bin ENV PATH=$PATH:/usr/local/bin/maven/bin
# install node+npm LTS see https://www.how2shout.com/linux/how-to-install-node-js-npm-on-debian-11-bullseye/
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt install nodejs
#RUN chmod 666 /var/run/docker.sock #RUN chmod 666 /var/run/docker.sock
#RUN /usr/local/bin/code-server --install-extension vscode-basex-0.0.21.vsix #RUN /usr/local/bin/code-server --install-extension vscode-basex-0.0.21.vsix