update p2pool, monerod, minecraft, ubuntu

This commit is contained in:
Matthew Tran
2024-08-21 07:29:56 +00:00
parent e29fcd328b
commit e9f8a77d26
6 changed files with 17 additions and 17 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
FROM ubuntu:22.04
FROM ubuntu:24.04
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y wget openjdk-18-jre
RUN apt-get install -y wget openjdk-21-jre
RUN useradd -m matt
USER matt
@@ -10,8 +10,8 @@ WORKDIR /home/matt
RUN wget https://github.com/Tiiffi/mcrcon/releases/download/v0.7.2/mcrcon-0.7.2-linux-x86-64.tar.gz
RUN tar xvf mcrcon-0.7.2-linux-x86-64.tar.gz
# from https://www.minecraft.net/en-us/download/server (currently 1.20.4)
RUN wget https://piston-data.mojang.com/v1/objects/8dd1a28015f51b1803213892b50b7b4fc76e594d/server.jar
# from https://www.minecraft.net/en-us/download/server (currently 1.21)
RUN wget https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar
COPY --chown=matt:matt eula.txt ./
COPY --chown=matt:matt entry.sh ./