Cleanup tar archive after extracting it

This commit is contained in:
Nathan Caldwell 2015-09-20 17:59:32 -06:00
parent b9a878e508
commit 6b955a6bca

View File

@ -22,6 +22,9 @@ RUN tar -C /opt -xzf /opt/teamspeak3-server_linux-amd64-3*.tar.gz
ADD /scripts/ /opt/scripts/
RUN chmod -R 774 /opt/scripts/
# Cleanup
RUN rm -f /opt/teamspeak3-server_linux-amd64-3*.tar.gz
ENTRYPOINT ["/opt/scripts/docker-ts3.sh"]
#CMD ["-w", "/teamspeak3/query_ip_whitelist.txt", "-b", "/teamspeak3/query_ip_blacklist.txt", "-o", "/teamspeak3/logs/", "-l", "/teamspeak3/"]