Skip to content

Commit

Permalink
pin node
Browse files Browse the repository at this point in the history
  • Loading branch information
SturdyStubs committed Mar 29, 2024
1 parent d48c55a commit 1ca1d53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions games/carbon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 \
&& apt update \
&& apt upgrade -y \
&& echo "Package: nodejs" >> /etc/apt/preferences.d/preferences \
&& echo "Pin: origin deb.nodesource.com" >> /etc/apt/preferences.d/preferences \
&& echo "Pin-Priority: 1001" >> /etc/apt/preferences.d/preferences \
&& apt install -y lib32gcc-s1 lib32stdc++6 unzip curl iproute2 tzdata libgdiplus libsdl2-2.0-0:i386 \
&& curl -sL https://deb.nodesource.com/setup_20.x | bash - \
&& apt install -y nodejs \
Expand Down

0 comments on commit 1ca1d53

Please sign in to comment.