initial commit

This commit is contained in:
2022-08-27 14:24:17 +02:00
commit 9bc59e83b1
5 changed files with 222 additions and 0 deletions

28
Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM cm2network/steamcmd:latest
LABEL org.opencontainers.image.source=https://git.kapelle.org/niklas/arma3-docker
COPY entrypoint.sh /home/steam/entrypoint.sh
RUN mkdir -p /home/steam/server && \
chown steam:steam /home/steam/server && \
bash -c 'mkdir -p /home/steam/volumes/{config,missions,mods,servermods}' && \
chown steam:steam -R /home/steam/volumes/
USER steam
VOLUME /home/steam/server
VOLUME /home/steam/volumes/config
VOLUME /home/steam/volumes/missions
VOLUME /home/steam/volumes/mods
VOLUME /home/steam/volumes/servermods
WORKDIR /home/steam/server
EXPOSE 2302/udp
EXPOSE 2303/udp
EXPOSE 2304/udp
EXPOSE 2305/udp
EXPOSE 2306/udp
ENTRYPOINT /home/steam/entrypoint.sh