mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
26 lines
516 B
Docker
26 lines
516 B
Docker
|
FROM itzg/ubuntu-openjdk-7
|
||
|
|
||
|
MAINTAINER itzg
|
||
|
|
||
|
RUN apt-get update
|
||
|
RUN apt-get install -y wget libmozjs-24-bin
|
||
|
RUN update-alternatives --install /usr/bin/js js /usr/bin/js24 100
|
||
|
|
||
|
RUN wget -O /usr/bin/jsawk https://github.com/micha/jsawk/raw/master/jsawk
|
||
|
RUN chmod +x /usr/bin/jsawk
|
||
|
|
||
|
EXPOSE 25565
|
||
|
|
||
|
ADD run.sh /run
|
||
|
|
||
|
VOLUME ['/data']
|
||
|
ADD server.properties /tmp/server.properties
|
||
|
WORKDIR /data
|
||
|
|
||
|
ENTRYPOINT /run
|
||
|
|
||
|
ENV MOTD A Minecraft Server Powered by Docker
|
||
|
ENV LEVEL world
|
||
|
ENV JVM_OPTS -Xmx512M -Xms512M
|
||
|
ENV VERSION 1.7.9
|