Create dockerfile

This commit is contained in:
devalx 2014-04-08 20:50:26 +02:00
parent d0ecc7bc55
commit 64ef5076d4

12
dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM ubuntu
# Set some variables.
ENV TEAMSPEAK_URL http://dl.4players.de/ts/releases/3.0.10.3/teamspeak3-server_linux-amd64-3.0.10.3.tar.gz
RUN apt-get update && apt-get install -y curl
RUN cd /opt && curl -sL ${TEAMSPEAK_URL} | tar xz
ENTRYPOINT /opt/teamspeak3-server_linux-amd64/ts3server_minimal_runscript.sh
EXPOSE 9987/udp