mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-04-07 09:44:56 -05:00
Create Dockerfile
This commit is contained in:
parent
c506fba096
commit
e484faa73d
44
Dockerfile
Normal file
44
Dockerfile
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
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
|
||||
RUN chmod +x /POGOserver/run-linux.sh
|
||||
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"]
|
||||
Loading…
Reference in New Issue
Block a user