mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-12-20 14:41:17 +00:00
Use 'tar -C' instead of 'cd && tar' to extract the server
This commit is contained in:
parent
8bafb174d2
commit
b9a878e508
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ VOLUME ["/teamspeak3"]
|
||||||
|
|
||||||
# Download TS3 file and extract it into /opt.
|
# Download TS3 file and extract it into /opt.
|
||||||
ADD ${TEAMSPEAK_URL} /opt/
|
ADD ${TEAMSPEAK_URL} /opt/
|
||||||
RUN cd /opt && tar -xzf /opt/teamspeak3-server_linux-amd64-3*.tar.gz
|
RUN tar -C /opt -xzf /opt/teamspeak3-server_linux-amd64-3*.tar.gz
|
||||||
|
|
||||||
ADD /scripts/ /opt/scripts/
|
ADD /scripts/ /opt/scripts/
|
||||||
RUN chmod -R 774 /opt/scripts/
|
RUN chmod -R 774 /opt/scripts/
|
||||||
|
|
Loading…
Reference in a new issue