minecraft-spigot/Dockerfile

22 lines
315 B
Text
Raw Permalink Normal View History

FROM openjdk:11-jre
2017-03-10 01:01:10 +01:00
MAINTAINER Chris <chris@zom.bi>
EXPOSE 8123
EXPOSE 25565
EXPOSE 25565/udp
ENV \
DEPENDENCIES="git wget tar"
2017-03-10 01:01:10 +01:00
RUN \
2017-03-10 08:08:06 +01:00
apt-get update &&\
apt-get -y install ${DEPENDENCIES} &&\
apt-get clean
2017-03-10 01:01:10 +01:00
USER games
WORKDIR /usr/games/mcserv
ADD start.sh /opt/start.sh
ENTRYPOINT [ "/opt/start.sh" ]