add minecraft bedrock server

This commit is contained in:
Matthew Tran
2024-09-16 05:44:19 +00:00
parent e9f8a77d26
commit b714e2895b
11 changed files with 100 additions and 12 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM ubuntu:24.04
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y wget unzip curl
RUN useradd -m matt
USER matt
WORKDIR /home/matt
# from https://www.minecraft.net/en-us/download/server/bedrock (currently 1.21.23.01)
RUN wget -O server.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.23.01.zip
RUN unzip server.zip && rm server.zip
COPY --chown=matt:matt entry.sh ./
COPY --chown=matt:matt server.properties ./
COPY --chown=matt:matt permissions.json ./