modified: Dockerfile
Fixed directory locations and removed unnecessary start script
This commit is contained in:
parent
4f3126e9e5
commit
f43f9fd1ae
@ -17,13 +17,10 @@ RUN groupadd -g $PM_GID $PM_GROUP
|
|||||||
RUN useradd -u $PM_UID -g $PM_GROUP -M $PM_USER
|
RUN useradd -u $PM_UID -g $PM_GROUP -M $PM_USER
|
||||||
RUN mkdir /pmmp
|
RUN mkdir /pmmp
|
||||||
RUN chown $PM_USER:$PM_GROUP /pmmp
|
RUN chown $PM_USER:$PM_GROUP /pmmp
|
||||||
RUN cd /pmmp
|
|
||||||
RUN wget -q -O - https://jenkins.pmmp.io/job/PHP-7.3-Aggregate/lastSuccessfulBuild/artifact/PHP-7.3-Linux-x86_64.tar.gz > /pmmp/PHP-7.3-Linux-x86_64.tar.gz
|
RUN wget -q -O - https://jenkins.pmmp.io/job/PHP-7.3-Aggregate/lastSuccessfulBuild/artifact/PHP-7.3-Linux-x86_64.tar.gz > /pmmp/PHP-7.3-Linux-x86_64.tar.gz
|
||||||
RUN tar zxvf PHP-7.3-Linux-x86_64.tar.gz
|
RUN cd /pmmp && tar zxvf PHP-7.3-Linux-x86_64.tar.gz
|
||||||
RUN rm PHP-7.3-Linux-x86_64.tar.gz
|
RUN rm /pmmp/PHP-7.3-Linux-x86_64.tar.gz
|
||||||
RUN wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.9.5/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar
|
RUN wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.9.5/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar
|
||||||
RUN wget -q -O - https://raw.githubusercontent.com/pmmp/PocketMine-MP/master/start.sh > /pmmp/start.sh
|
|
||||||
RUN chmod 755 start.sh
|
|
||||||
RUN chown -R $PM_USER:$PM_GROUP /pmmp
|
RUN chown -R $PM_USER:$PM_GROUP /pmmp
|
||||||
|
|
||||||
VOLUME /plugins
|
VOLUME /plugins
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user