blob: fbf17ddfd7e61c1468b5c3ef3632d3aa0bae0171 [file] [log] [blame]
Sergiusz Bazanskid1ccdcf2020-05-06 20:34:06 +02001FROM ubuntu:20.04
2
3RUN set -e -x ;\
4 export DEBIAN_FRONTEND=noninteractive ;\
5 apt-get -y update ;\
6 apt-get -y upgrade ;\
7 apt-get -y install git openjdk-8-jre-headless wget
8
9RUN set -e -x ;\
10 export DEBIAN_FRONTEND=noninteractive ;\
11 apt-get -y install build-essential python3-dev python3-pil python3-numpy ;\
12 mkdir overviewer ;\
13 cd overviewer ;\
14 wget --quiet https://github.com/overviewer/Minecraft-Overviewer/archive/v0.15.0.tar.gz ;\
15 tar xvf *.tar.gz ;\
16 cd Minecraft-Overviewer* ;\
17 python3 setup.py build ;\
18 python3 setup.py install ;\
19 cd ../.. ;\
20 rm -rf overviewer ;\
21 apt-get -y purge python3-dev build-essential
22
23
24RUN set -e -x ;\
25 useradd -rm minecraft
26
27USER minecraft
28WORKDIR /home/minecraft
29
30RUN set -e -x ;\
31 mkdir build ;\
32 cd build ;\
wasiumpks2a788d32020-06-03 15:30:00 +020033 wget --quiet https://papermc.io/api/v1/paper/1.15.2/333/download ;\
34 cp paper*jar .. ;\
Sergiusz Bazanskid1ccdcf2020-05-06 20:34:06 +020035 cd .. ;\
36 rm -rf build ;\
wasiumpks2a788d32020-06-03 15:30:00 +020037 mv paper*.jar paper.jar
Sergiusz Bazanskid1ccdcf2020-05-06 20:34:06 +020038
RafaƂ Hirsz12ab93a2020-05-16 21:02:52 +020039ADD worldedit-bukkit-7.1.0.jar .
40ADD worldguard-bukkit-7.0.2.jar .
41
Sergiusz Bazanskid1ccdcf2020-05-06 20:34:06 +020042RUN set -e -x ;\
43 VERSION=1.15.2 ;\
44 mkdir -p /home/minecraft/.minecraft/versions/${VERSION}/ ;\
45 wget --quiet https://overviewer.org/textures/${VERSION} -O /home/minecraft/.minecraft/versions/${VERSION}/${VERSION}.jar