From 8331bdfa4239f8cc866cf7851b3a71c9e5cd3b63 Mon Sep 17 00:00:00 2001 From: MartinOscar <40749467+RMartinOscar@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:30:32 +0100 Subject: [PATCH] Update Dockerfile --- games/rust/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/games/rust/Dockerfile b/games/rust/Dockerfile index 8f15aaa..3a11f02 100644 --- a/games/rust/Dockerfile +++ b/games/rust/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim +FROM --platform=$TARGETOS/$TARGETARCH node:18-slim ENV DEBIAN_FRONTEND=noninteractive @@ -6,10 +6,8 @@ RUN dpkg --add-architecture i386 \ && apt update \ && apt upgrade -y \ && apt install -y lib32gcc-s1 lib32stdc++6 unzip curl iproute2 tzdata libgdiplus libsdl2-2.0-0:i386 \ - && curl -sL https://deb.nodesource.com/setup_14.x | bash - \ - && apt install -y nodejs \ && mkdir /node_modules \ - && npm install --prefix / ws \ + && npm install --prefix /node_modules ws \ && useradd -d /home/container -m container USER container