-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (18 loc) · 796 Bytes
/
Dockerfile
File metadata and controls
28 lines (18 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM ubuntu:20.04
RUN apt-get update && \
apt-get install -y openjdk-11-jre-headless && \
apt-get clean;
RUN apt-get install vim htop tmux wget git -y
WORKDIR /root/
RUN git clone https://github.com/stories2/Minecraft-Python.git
WORKDIR /root/Minecraft-Python/spidgot
RUN mkdir plugins
WORKDIR /root/Minecraft-Python/spidgot/plugins
RUN wget -O raspberryjuice-1.11.jar https://dev.bukkit.org/projects/raspberryjuice/files/2496319/download
WORKDIR /root/Minecraft-Python/spidgot
RUN wget -O spigot.jar https://cdn.getbukkit.org/spigot/spigot-1.13.1.jar
RUN wget https://launcher.mojang.com/v1/objects/fe123682e9cb30031eae351764f653500b7396c9/server.jar
EXPOSE 4711
EXPOSE 25565
WORKDIR /root/Minecraft-Python/spidgot
CMD [ "java", "-Xms1024M", "-Xms1024M", "-jar", "spigot.jar" ]