arma3-docker/Dockerfile
Djeeberjr 725af3fcbd
All checks were successful
continuous-integration/drone/push Build is passing
no simlink for missions
2022-09-05 18:00:37 +02:00

30 lines
738 B
Docker

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/server/mpmissions
# VOLUME /home/steam/volumes/missions
VOLUME /home/steam/volumes/config
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