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>
|
||||
EXPOSE 8123
|
||||
EXPOSE 25565
|
||||
EXPOSE 25565/udp
|
||||
|
||||
ENV \
|
||||
DEPENDENCIES="openjdk-7-jre-headless git wget tar"
|
||||
DEPENDENCIES="openjdk-7-jre-headless git wget tar"
|
||||
|
||||
RUN \
|
||||
apt-get update &&\
|
||||
apt-get -y install ${DEPENDENCIES} &&\
|
||||
apt-get clean
|
||||
apt-get update &&\
|
||||
apt-get -y install ${DEPENDENCIES} &&\
|
||||
apt-get clean
|
||||
|
||||
WORKDIR /usr/games
|
||||
VOLUME ["/usr/games/mcserv"]
|
||||
RUN \
|
||||
chown -R games: . &&\
|
||||
chmod 775 mcserv
|
||||
chown -R games: . &&\
|
||||
chmod 775 mcserv
|
||||
|
||||
USER games
|
||||
WORKDIR /usr/games/mcserv
|
||||
|
|
Loading…
Reference in a new issue