-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (28 loc) · 1.08 KB
/
Dockerfile
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
# tried using ubuntu but this happened https://github.com/ValveSoftware/steam-for-linux/issues/7190
FROM debian:buster-slim
LABEL maintainer="[email protected]"
# these are used by entry.sh to login to steam via steamcmd
ENV ASSETTO_PRESET=
ENV MOUNT_PATH_DEST=/mnt/assetto
ENV STEAM_PASSWORD=
ENV STEAM_USERNAME=
# get dependencies for steamcmd and assetto corsa then clean yourself up
RUN set -x \
&& dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
lib32stdc++6=8.3.0-6 \
lib32gcc1=1:8.3.0-6 \
wget=1.20.1-1.1 \
ca-certificates=20190110 \
nano=3.2-3 \
libsdl2-2.0-0:i386=2.0.9+dfsg1-1 \
curl=7.64.0-4+deb10u1 \
&& apt-get clean autoclean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# pull in the entrypoint script and assetto corsa cfg files
COPY entry.sh /home/steam/files/
RUN chmod -R 755 /home/steam/
# end by kicking off a script because steam and assetto are chonk and "container images should be small"
ENTRYPOINT [ "/home/steam/files/entry.sh" ]