Update 'Dockerfile'
This commit is contained in:
+11
-6
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:vivid
|
FROM ubuntu:xenial
|
||||||
MAINTAINER uggla@free.fr
|
MAINTAINER uggla@free.fr
|
||||||
LABEL name=PAServer
|
LABEL name=PAServer
|
||||||
LABEL version="1.0" description="PAServer in docker. Port used 20545"
|
LABEL version="1.0" description="PAServer in docker. Port used 20545"
|
||||||
@@ -20,23 +20,28 @@ COPY update_conf_file.sh /home/pa/update_conf_file.sh
|
|||||||
COPY runServer.sh /home/pa/runServer.sh
|
COPY runServer.sh /home/pa/runServer.sh
|
||||||
COPY mikeyh_lobby.patch /home/pa/mikeyh_lobby.patch
|
COPY mikeyh_lobby.patch /home/pa/mikeyh_lobby.patch
|
||||||
COPY *.sed /home/pa/
|
COPY *.sed /home/pa/
|
||||||
|
RUN mkdir /home/pa/.local
|
||||||
RUN chown pa:pa /home/pa/auth_papatcher.sh && \
|
RUN chown pa:pa /home/pa/auth_papatcher.sh && \
|
||||||
chown pa:pa /home/pa/update_conf_file.sh && \
|
chown pa:pa /home/pa/update_conf_file.sh && \
|
||||||
chown pa:pa /home/pa/runServer.sh && \
|
chown pa:pa /home/pa/runServer.sh && \
|
||||||
chown pa:pa /home/pa/NodePAMaster_conf.json && \
|
chown pa:pa /home/pa/NodePAMaster_conf.json && \
|
||||||
chown pa:pa /home/pa/mikeyh_lobby.patch && \
|
chown pa:pa /home/pa/mikeyh_lobby.patch && \
|
||||||
chown pa:pa /home/pa/*.sed
|
chown pa:pa /home/pa/*.sed && \
|
||||||
|
chown -R pa:pa /home/pa/.local
|
||||||
USER pa
|
USER pa
|
||||||
WORKDIR /home/pa
|
WORKDIR /home/pa
|
||||||
|
|
||||||
RUN wget https://bitbucket.org/papatcher/papatcher/raw/a7b8b4febb491d6fc6c45155b238fd42ee34fcc8/papatcher.go && \
|
RUN wget https://bitbucket.org/papatcher/papatcher/raw/a7b8b4febb491d6fc6c45155b238fd42ee34fcc8/papatcher.go && \
|
||||||
wget http://nanodesu.info/stuff/pa/mods/NodePAMaster.zip && \
|
wget http://nanodesu.info/stuff/pa/mods/NodePAMaster.zip && wget http://cdn.tooth.yt/color_table.js
|
||||||
wget https://dl.dropboxusercontent.com/u/28565393/Planetary%20Annihilation/colours/color_table.js
|
|
||||||
RUN chmod +x /home/pa/auth_papatcher.sh && \
|
RUN chmod +x /home/pa/auth_papatcher.sh && \
|
||||||
chmod +x /home/pa/papatcher.go && \
|
chmod +x /home/pa/papatcher.go && \
|
||||||
unzip /home/pa/NodePAMaster.zip && \
|
unzip /home/pa/NodePAMaster.zip && \
|
||||||
/home/pa/auth_papatcher.sh
|
/home/pa/auth_papatcher.sh
|
||||||
RUN cp color_table.js ./.local/Uber\ Entertainment/Planetary\ Annihilation/stable/media/server-script/lobby/color_table.js && \
|
COPY --chown=pa:pa .local/ .local/
|
||||||
chmod +x /home/pa/update_conf_file.sh && \
|
RUN chown -R pa:pa /home/pa/.local
|
||||||
|
|
||||||
|
#RUN ls -la .local/Uber\ Entertainment/Planetary\ Annihilation/stable/media/server-script/lobby/
|
||||||
|
RUN chmod +x /home/pa/update_conf_file.sh && \
|
||||||
ls -al /home/pa/update_conf_file.sh && \
|
ls -al /home/pa/update_conf_file.sh && \
|
||||||
sleep 5s && \
|
sleep 5s && \
|
||||||
/home/pa/update_conf_file.sh
|
/home/pa/update_conf_file.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user