From 6b955a6bcac9d8d8ef72d018b847e8d31e025d8a Mon Sep 17 00:00:00 2001 From: Nathan Caldwell Date: Sun, 20 Sep 2015 17:59:32 -0600 Subject: [PATCH] Cleanup tar archive after extracting it --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e1d96ad..ce70109 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/"]