dockerfiles/games/mcserver/Dockerfile

19 lines
391 B
Docker
Raw Normal View History

2015-06-23 02:24:50 +00:00
FROM fedora:22
RUN dnf -y install tar gzip
ADD http://builds.cuberite.org/job/Cuberite%20Linux%20x64%20Master/lastSuccessfulBuild/artifact/Cuberite.tar.gz /cuberite.tgz
RUN tar xf /cuberite.tgz &&\
2015-06-23 19:46:05 +00:00
mkdir -p /minecraft/data &&\
mv /MCServer /minecraft/server
2015-06-23 02:24:50 +00:00
2015-06-23 19:46:05 +00:00
ADD settings.ini /minecraft/data/settings.ini
2015-06-23 02:24:50 +00:00
2015-06-23 19:46:05 +00:00
WORKDIR /minecraft/data
2015-06-23 02:24:50 +00:00
EXPOSE 8080
EXPOSE 25565
2015-06-23 19:46:05 +00:00
CMD ../server/MCServer