Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
FROM ubuntu:latest
|
| 2 |
-
RUN apt update && apt install wget curl
|
| 3 |
RUN wget https://download.java.net/java/GA/jdk22.0.2/c9ecb94cd31b495da20a27d4581645e8/9/GPL/openjdk-22.0.2_linux-x64_bin.tar.gz
|
| 4 |
-
RUN echo not completed yet
|
|
|
|
|
|
|
|
|
| 1 |
FROM ubuntu:latest
|
| 2 |
+
RUN apt update && apt install wget curl -y
|
| 3 |
RUN wget https://download.java.net/java/GA/jdk22.0.2/c9ecb94cd31b495da20a27d4581645e8/9/GPL/openjdk-22.0.2_linux-x64_bin.tar.gz
|
| 4 |
+
RUN echo not completed yet
|
| 5 |
+
RUN wget https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar
|
| 6 |
+
CMD ["java", "-Xmx6048M", "-Xms6048M", "-jar", "server.jar", "nogui"]
|