-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (36 loc) · 1.04 KB
/
Copy pathDockerfile
File metadata and controls
47 lines (36 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM ubuntu:22.04
LABEL author="Isaac A." maintainer="isaac@isaacs.site"
ENV DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 \
&& apt update \
&& apt upgrade -y \
&& apt install -y \
lib32gcc-s1 \
lib32stdc++6 \
libsdl2-2.0-0:i386 \
libsdl2-2.0-0 \
unzip \
curl \
wget \
iproute2 \
libgdiplus \
ca-certificates \
libicu70 \
libc6 \
libgcc-s1 \
libssl3 \
openssl \
&& wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb \
&& dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb \
&& rm libssl1.1_1.1.1f-1ubuntu2_amd64.deb \
&& useradd -d /home/container -m container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./res/entrypoint.sh /entrypoint.sh
COPY ./res/ProcessWrapper /ProcessWrapper
USER root
RUN chmod a+x /ProcessWrapper \
&& chmod a+x /entrypoint.sh
USER container
CMD ["/bin/bash", "/entrypoint.sh"]