changed base image
This commit is contained in:
parent
2144cb4bf1
commit
0a5454f8df
1 changed files with 7 additions and 7 deletions
14
Dockerfile
14
Dockerfile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue