-
Notifications
You must be signed in to change notification settings - Fork 197
/
Dockerfile
43 lines (43 loc) · 1.21 KB
/
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
FROM ubuntu:latest
MAINTAINER Draco Miles X
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq mysql-server mysql-client -y && apt-get upgrade -y && apt-get dist-upgrade -y
RUN apt-get install -y \
apt-utils \
nano \
build-essential \
curl \
lsb-release \
openssl \
libssl-dev \
openssh-server \
openssh-client \
sudo \
python \
python-dev \
python-pip \
python3 \
python3-dev \
python3-pip \
pkg-config \
autoconf \
automake \
libtool \
curl \
make \
g++ \
unzip \
supervisor
RUN mkdir -p /var/run/sshd /var/log/supervisor
RUN curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
RUN apt-get install -y \
nodejs \
git
RUN git clone --recursive https://github.com/google/protobuf.git
RUN cd /protobuf && ./autogen.sh && ./configure && make && make check && make install && ldconfig
RUN cd /
RUN git clone --recursive https://github.com/maierfelix/POGOserver.git
COPY cfg.js /POGOserver/
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN service mysql start && mysql -u root -e "create database pogosql";
EXPOSE 22 80 443 3306 3000
CMD ["/usr/bin/supervisord"]