This repository has been archived by the owner on Apr 28, 2022. It is now read-only.
forked from devalx/docker-teamspeak3
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7277ec9
commit e4d100d
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
FROM ubuntu:16.04 | ||
FROM frolvlad/alpine-glibc:alpine-3.4 | ||
|
||
MAINTAINER [email protected] | ||
MAINTAINER BastiOfBerlin | ||
|
||
ENV TEAMSPEAK_URL http://dl.4players.de/ts/releases/3.0.13.4/teamspeak3-server_linux_amd64-3.0.13.4.tar.bz2 | ||
ENV TS3_UID 1000 | ||
|
||
RUN apt-get update -q \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qy bzip2 wget \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt \ | ||
&& useradd -u ${TS3_UID} ts3 \ | ||
RUN adduser -S -D -u ${TS3_UID} ts3 \ | ||
&& mkdir -p /home/ts3 \ | ||
&& wget -q -O /home/ts3/teamspeak3-server_linux_amd64.tar.bz2 ${TEAMSPEAK_URL} \ | ||
&& tar --directory /home/ts3 -xjf /home/ts3/teamspeak3-server_linux_amd64.tar.bz2 \ | ||
|