mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
update p2pool, monerod, minecraft, ubuntu
This commit is contained in:
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user