Created
November 23, 2018 16:26
-
-
Save josejuansanchez/d74ae820e78a6aedb242b07bbc7258ca to your computer and use it in GitHub Desktop.
soldat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu | |
| LABEL title="soldat" \ | |
| author="José Juan Sánchez" | |
| RUN dpkg --add-architecture i386 \ | |
| && apt-get update \ | |
| && apt-get install -y libc6:i386 \ | |
| && apt-get install -y libstdc++6:i386 \ | |
| && apt-get install -y wget \ | |
| && apt-get install -y gosu \ | |
| && cd /tmp \ | |
| && wget https://static.soldat.pl/downloads/soldatserver2.8.1_1.7.1.zip \ | |
| && apt-get install -y unzip \ | |
| && unzip soldatserver2.8.1_1.7.1.zip | |
| RUN useradd soldat \ | |
| && cd /tmp \ | |
| && chown soldat:soldat * -R | |
| EXPOSE 23073/tcp | |
| EXPOSE 23073/udp | |
| EXPOSE 23083/tcp | |
| CMD ["gosu", "soldat", "/tmp/soldatserver"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment