-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
51 lines (40 loc) · 920 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM ubuntu:16.04
LABEL maintainer="[email protected]"
ENV DEBIAN_FRONTEND noninteractive
## Base System
RUN dpkg --add-architecture i386 && \
apt-get update -y && \
apt-get install -y \
binutils \
mailutils \
postfix \
curl \
wget \
file \
bzip2 \
gzip \
unzip \
bsdmainutils \
python \
util-linux \
ca-certificates \
tmux \
lib32gcc1 \
libstdc++6 \
libstdc++6:i386
ENV LGSM_DOCKER_VERSION 17.07.27
## lgsm.sh
RUN wget -N --no-check-certificate https://gameservermanagers.com/dl/linuxgsm.sh
## user config
RUN adduser --disabled-password --gecos "" lgsm && \
chown lgsm:lgsm /linuxgsm.sh && \
chmod +x /linuxgsm.sh && \
cp /linuxgsm.sh /home/lgsm/linuxgsm
USER lgsm
WORKDIR /home/lgsm
#need to fake it linuxgsm
ENV TERM=xterm
## Docker Details
ENV PATH=$PATH:/home/lgsm
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]