Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -7
Dockerfile
CHANGED
|
@@ -1,21 +1,16 @@
|
|
| 1 |
FROM ubuntu:22.04
|
| 2 |
|
| 3 |
-
RUN apt-get update && apt-get install -y wget unzip
|
| 4 |
|
| 5 |
WORKDIR /server
|
| 6 |
|
| 7 |
-
# Bedrock server
|
| 8 |
RUN wget https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.0.03.zip
|
| 9 |
RUN unzip bedrock-server-1.21.0.03.zip
|
| 10 |
|
| 11 |
-
|
| 12 |
-
RUN wget https://github.com/playit-cloud/playit-agent/releases/latest/download/playit-linux-amd64 -O playit
|
| 13 |
-
RUN chmod +x playit
|
| 14 |
|
| 15 |
-
# EULA
|
| 16 |
RUN echo "eula=true" > eula.txt
|
| 17 |
|
| 18 |
-
# start script
|
| 19 |
COPY start.sh /start.sh
|
| 20 |
RUN chmod +x /start.sh
|
| 21 |
|
|
|
|
| 1 |
FROM ubuntu:22.04
|
| 2 |
|
| 3 |
+
RUN apt-get update && apt-get install -y wget unzip libcurl4
|
| 4 |
|
| 5 |
WORKDIR /server
|
| 6 |
|
|
|
|
| 7 |
RUN wget https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.0.03.zip
|
| 8 |
RUN unzip bedrock-server-1.21.0.03.zip
|
| 9 |
|
| 10 |
+
RUN chmod +x bedrock_server
|
|
|
|
|
|
|
| 11 |
|
|
|
|
| 12 |
RUN echo "eula=true" > eula.txt
|
| 13 |
|
|
|
|
| 14 |
COPY start.sh /start.sh
|
| 15 |
RUN chmod +x /start.sh
|
| 16 |
|