Update Dockerfile
This commit is contained in:
parent
6f15a792e0
commit
87bece1369
1 changed files with 10 additions and 11 deletions
21
Dockerfile
21
Dockerfile
|
|
@ -1,14 +1,16 @@
|
|||
FROM ubuntu:latest
|
||||
ENV CONFIGINI /home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer
|
||||
ENV CONFIGTXT /home/steam/steamcmd/sandstorm/Insurgency/Config/Server
|
||||
|
||||
ENV HOSTNAME="MY COOP DEFAULT SERVER" PORT=42433 QUERYPORT=42434
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
lib32gcc1 \
|
||||
curl && \
|
||||
curl \
|
||||
ca-certificates \
|
||||
language-pack-en-base \
|
||||
locales && \
|
||||
apt-get -y upgrade && \
|
||||
locale-gen "en_US.UTF-8" && \
|
||||
export LC_ALL="en_US.UTF-8" && \
|
||||
apt-get clean autoclean && \
|
||||
apt-get autoremove -y && \
|
||||
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \
|
||||
|
|
@ -23,8 +25,5 @@ RUN mkdir -p /home/steam/steamcmd && cd /home/steam/steamcmd && \
|
|||
|
||||
RUN ./home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/steam/steamcmd/sandstorm/ +app_update 581330 validate +quit
|
||||
|
||||
COPY config/ini/ ${CONFIGINI}
|
||||
COPY config/txt/ ${CONFIGTXT}
|
||||
|
||||
ENTRYPOINT ./home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/steam/steamcmd/sandstorm/ +app_update 581330 +quit && \
|
||||
./home/steam/steamcmd/sandstorm/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping -hostname=$HOSTNAME -Port=$PORT -QueryPort=$QUERYPORT -MapCycle=MapCycle
|
||||
ENTRYPOINT /home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/steam/steamcmd/sandstorm/ +app_update 581330 +quit && \
|
||||
/home/steam/steamcmd/sandstorm/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping -hostname="$HOSTNAME" -Port=$PORT -QueryPort=$QUERYPORT ${LAUNCH_SERVER_ENV}
|
||||
|
|
|
|||
Loading…
Reference in a new issue