changed base image

This commit is contained in:
bsod 2017-03-10 08:08:06 +01:00
parent 2144cb4bf1
commit 0a5454f8df

View file

@ -1,22 +1,22 @@
FROM zombi/base FROM debian:jessie
MAINTAINER Chris <chris@zom.bi> MAINTAINER Chris <chris@zom.bi>
EXPOSE 8123 EXPOSE 8123
EXPOSE 25565 EXPOSE 25565
EXPOSE 25565/udp EXPOSE 25565/udp
ENV \ ENV \
DEPENDENCIES="openjdk-7-jre-headless git wget tar" DEPENDENCIES="openjdk-7-jre-headless git wget tar"
RUN \ RUN \
apt-get update &&\ apt-get update &&\
apt-get -y install ${DEPENDENCIES} &&\ apt-get -y install ${DEPENDENCIES} &&\
apt-get clean apt-get clean
WORKDIR /usr/games WORKDIR /usr/games
VOLUME ["/usr/games/mcserv"] VOLUME ["/usr/games/mcserv"]
RUN \ RUN \
chown -R games: . &&\ chown -R games: . &&\
chmod 775 mcserv chmod 775 mcserv
USER games USER games
WORKDIR /usr/games/mcserv WORKDIR /usr/games/mcserv