-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerFile
More file actions
26 lines (21 loc) · 1015 Bytes
/
Copy pathDockerFile
File metadata and controls
26 lines (21 loc) · 1015 Bytes
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
# Creates a trinityCore server for both auth and world server
FROM ubuntu:20.04
# squelches tzdata's install prompt
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y libboost-system1.71.0 \
&& apt-get install -y libboost-filesystem1.71.0 \
&& apt-get install -y libboost-thread1.71.0 \
&& apt-get install -y libboost-program-options1.71.0 \
&& apt-get install -y libboost-iostreams1.71.0 \
&& apt-get install -y libboost-regex1.71.0 \
&& apt-get install -y mariadb-client \
&& apt-get install -y libmariadbclient-dev \
&& apt-get install -y libreadline8 \
&& adduser -q -u 1000 trinitycore
COPY . /opt/trinitycore
ENV DEBIAN_FRONTEND=
# by default, this containers will idle and do nothing. This is needed to easily run Trinity in "attended" mode
# when creating a clean server instance. Set the TrinityCore start process from Docker-compose file.
# See README.md for details
CMD ["/bin/bash", "-c", "while true ;sleep 5; do continue; done"]