21 lines
315 B
Docker
21 lines
315 B
Docker
FROM openjdk:11-jre
|
|
MAINTAINER Chris <chris@zom.bi>
|
|
EXPOSE 8123
|
|
EXPOSE 25565
|
|
EXPOSE 25565/udp
|
|
|
|
ENV \
|
|
DEPENDENCIES="git wget tar"
|
|
|
|
RUN \
|
|
apt-get update &&\
|
|
apt-get -y install ${DEPENDENCIES} &&\
|
|
apt-get clean
|
|
|
|
USER games
|
|
WORKDIR /usr/games/mcserv
|
|
|
|
ADD start.sh /opt/start.sh
|
|
|
|
ENTRYPOINT [ "/opt/start.sh" ]
|
|
|