Merge pull request #13 from tilosp-docker/master

Travis CI
This commit is contained in:
Knut Ahlers 2017-03-25 22:25:01 +01:00 committed by GitHub
commit 037f7122f4
2 changed files with 19 additions and 8 deletions

16
.travis.yml Normal file
View file

@ -0,0 +1,16 @@
language: bash
services: docker
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- image="luzifer/teamspeak3:latest"
script:
- travis_retry docker build -t "$image" .
- ~/official-images/test/run.sh "$image"
after_script:
- docker images

View file

@ -29,12 +29,7 @@ RUN wget -O teamspeak3-server_linux-amd64.tar.bz2 http://dl.4players.de/ts/relea
ADD /scripts/ /opt/scripts/
RUN chmod -R 774 /opt/scripts/
ENTRYPOINT ["/opt/scripts/docker-ts3.sh"]
#CMD ["-w", "/teamspeak3/query_ip_whitelist.txt", "-b", "/teamspeak3/query_ip_blacklist.txt", "-o", "/teamspeak3/logs/", "-l", "/teamspeak3/"]
CMD ["/opt/scripts/docker-ts3.sh"]
# Expose the Standard TS3 port.
EXPOSE 9987/udp
# for files
EXPOSE 30033
# for ServerQuery
EXPOSE 10011
# Expose the Standard TS3 port, for files, for serverquery
EXPOSE 9987/udp 30033 10011