mirror of
https://bitbucket.org/shim_/docker-teamspeak.git
synced 2018-10-04 01:51:57 +02:00
24 lines
641 B
Docker
24 lines
641 B
Docker
FROM frolvlad/alpine-glibc
|
|
|
|
ENV TS_VERSION=3.0.12.4
|
|
ENV ARCH=amd64
|
|
ENV CHECKSUM=6bb0e8c8974fa5739b90e1806687128342b3ab36510944f576942e67df7a1bd9
|
|
|
|
ENV TS3DB_TYPE=SQLITE
|
|
|
|
RUN apk update && \
|
|
apk add --no-cache bash wget tar coreutils
|
|
RUN wget --no-check-certificate -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.0.1/dumb-init_1.0.1_amd64
|
|
|
|
RUN chmod +x /usr/bin/dumb-init && \
|
|
mkdir -p /tpl
|
|
|
|
COPY init.sh /usr/bin/init.sh
|
|
COPY ts3server.ini /tpl/ts3server.ini
|
|
COPY ts3db_mysql.ini /tpl/ts3db_mysql.ini
|
|
|
|
VOLUME ["/opt/teamspeak3"]
|
|
EXPOSE 10011 30033 9987/udp
|
|
|
|
CMD ["/usr/bin/dumb-init","/usr/bin/init.sh"]
|