-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (25 loc) · 1.09 KB
/
Dockerfile
File metadata and controls
38 lines (25 loc) · 1.09 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
FROM ubuntu:rolling
# Dependencies
RUN apt-get update \
&& apt-get install -y unzip wget software-properties-common file
RUN useradd -ms /bin/bash tabg
# Install SteamCMD (https://developer.valvesoftware.com/wiki/SteamCMD)
RUN add-apt-repository multiverse \
&& dpkg --add-architecture i386 \
&& apt-get update
RUN echo steam steam/question select "I AGREE" | debconf-set-selections \
&& echo steam steam/license note '' | debconf-set-selections
RUN apt-get install -y steamcmd
USER tabg
WORKDIR /tabg-server
# Install TABG
RUN /usr/games/steamcmd +force_install_dir /tabg-server +login anonymous +app_update 2311970 validate +exit
RUN chmod +x TABG.exe
# Install BepInEx
RUN wget -O /tmp/bepinex.zip https://github.com/BepInEx/BepInEx/releases/download/v5.4.23.2/BepInEx_linux_x64_5.4.23.2.zip \
&& unzip /tmp/bepinex.zip -d . \
&& mkdir -p BepInEx/plugins/usr
RUN chmod +x run_bepinex.sh
# Install CitrusLib
RUN wget -O BepInEx/plugins/Citruslib.dll https://github.com/CyrusTheLesser/Citruslib/releases/download/v0.7/Citruslib.dll
ENTRYPOINT [ "./run_bepinex.sh", "./TABG.exe" ]