Skip to content

Commit

Permalink
fix: enable corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jan 20, 2024
1 parent 80fa472 commit 0633c48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile.nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
RUN \
/bin/echo ">> installing dependencies" &&\
apt-get update &&\
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y \
curl \
wget \
Expand All @@ -18,10 +19,10 @@ RUN \
util-linux \
pciutils \
lm-sensors \
speedtest-cli &&\
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs &&\
speedtest-cli \
nodejs &&\
npm i -g yarn &&\
corepack enable &&\
if [ "$TARGETPLATFORM" = "linux/amd64" ] || [ "$(uname -m)" = "x86_64" ]; \
then \
/bin/echo ">> installing dependencies (amd64)" &&\
Expand Down

0 comments on commit 0633c48

Please sign in to comment.