-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·30 lines (20 loc) · 947 Bytes
/
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
FROM sequel7/steamcmd:14.04
# ROOT
USER root
ENV DEBIAN_FRONTEND noninteractive
EXPOSE 8080 7777
RUN apt-get update \
&& apt-get install -y software-properties-common python-software-properties expect tcl
RUN dpkg --add-architecture i386
RUN add-apt-repository ppa:wine/wine-builds \
&& apt-get update \
&& apt-get install -y --install-recommends winehq-staging
COPY ./content/ /
# STEAM
USER steam
RUN ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login anonymous +force_install_dir /opt/server/ +app_update 232130 validate +quit
RUN sed -i s/bEnabled=false/bEnabled=true/ /opt/server/KFGame/Config/KFWeb.ini
#RUN rm /opt/server/KFGame/Config/KFWeb.ini
ENV WINEDEBUG "fixme-all"
#CMD /usr/bin/unbuffer wine /opt/server/Binaries/Win64/KFServer.exe kf-bioticslab?difficulty=0?maxplayers=20?adminpassword=SmackMyBitchUp2020 -port=7777
CMD /usr/bin/unbuffer wine /opt/server/Binaries/Win64/KFServer.exe kf-bioticslab -port=7777