Skip to content

Commit

Permalink
Use latest LTS version of node.js
Browse files Browse the repository at this point in the history
Avoid problems with npm when installing mathjax-node-cli.
  • Loading branch information
tarleb committed May 13, 2021
1 parent e1ac3b0 commit 6813921
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_PRIORITY critical

RUN apt-get -q --no-allow-insecure-repositories update \
## I hate the `curl ... | bash -` pattern with a passion, but it
## doesn't have to be secure here.
&& DEBIAN_FRONTEND=noninteractive \
apt-get install --assume-yes --no-install-recommends curl \
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install --assume-yes --no-install-recommends \
aspell \
Expand All @@ -20,7 +25,6 @@ RUN apt-get -q --no-allow-insecure-repositories update \
luarocks \
make \
nodejs \
npm \
python-is-python3 \
python3 \
python3-matplotlib \
Expand Down

0 comments on commit 6813921

Please sign in to comment.