mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 06:29:00 +00:00
add rust image
This commit is contained in:
1 parent
716122d3be
commit
727d71a662
4 files changed
+212
No files matched your search
@@ -0,0 +1,23 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
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_16.x | bash - \
|
||||
&& apt install -y nodejs \
|
||||
&& mkdir /node_modules \
|
||||
&& npm install --prefix / ws \
|
||||
&& useradd -d /home/container -m container
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
COPY ./wrapper.js /wrapper.js
|
||||
|
||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
||||
Reference in new issue
Block a user