mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-12-20 14:41:17 +00:00
commit
037f7122f4
2 changed files with 19 additions and 8 deletions
16
.travis.yml
Normal file
16
.travis.yml
Normal 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
|
11
Dockerfile
11
Dockerfile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue