1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-04 15:29:58 +00:00

Minor dockerfile tweaks

- Install npm
 - Use apt-get instead of apt
This commit is contained in:
Jonathan Coates 2021-06-12 21:38:01 +01:00
parent 75dfa71275
commit dc21e2dbc9
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -3,6 +3,6 @@ FROM gitpod/workspace-base
USER gitpod
RUN sudo apt-get -q update \
&& sudo apt install -yq openjdk-8-jdk openjdk-16-jdk python3-pip \
&& sudo apt-get install -yq openjdk-8-jdk openjdk-16-jdk python3-pip npm \
&& sudo pip3 install pre-commit \
&& sudo update-java-alternatives --set java-1.8.0-openjdk-amd64