Skip to content

Commit f33a043

Browse files
committed
Actually upgrade to 2.1
1 parent e8634cd commit f33a043

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Dockerfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/eclipse-temurin:17-jre-jammy
1+
FROM eclipse-temurin:17-jre-jammy
22
RUN apt-get -qq update && apt-get -qq install -y unzip jq
33

44
RUN curl -fsSL -o "/tmp/rcon.tar.gz" $(curl -s https://api.github.com/repos/gorcon/rcon-cli/releases/latest | jq -r '.assets | map(select(.name | test("amd64_linux")))[0].browser_download_url')
@@ -11,10 +11,16 @@ RUN rm -r /tmp/rcon.tar.gz /tmp/rcon
1111

1212
RUN mkdir /data
1313
WORKDIR /data
14-
RUN curl -fsSL -o "/tmp/pack.zip" "https://www.curseforge.com/api/v1/mods/681792/files/5795419/download"
14+
RUN curl -fsSL -o "/tmp/pack.zip" "https://www.curseforge.com/api/v1/mods/681792/files/5795941/download"
15+
RUN curl -fsSL -o "/tmp/old.zip" "https://www.curseforge.com/api/v1/mods/681792/files/4496671/download"
1516
RUN unzip -q /tmp/pack.zip
17+
RUN unzip -q /tmp/old.zip -d /tmp/old/
18+
RUN cp /tmp/old/mods/vinery-1.1.4.jar mods/
19+
RUN cp /tmp/old/mods/Hephaestus-1.18.2-3.5.2.155.jar mods/
1620
RUN rm /tmp/pack.zip
17-
RUN curl -fsSL -o "server.jar" "https://meta.fabricmc.net/v2/versions/loader/1.18.2/0.14.22/0.11.2/server/jar"
21+
RUN rm /tmp/old.zip
22+
RUN rm -rf /tmp/old/
23+
RUN curl -fsSL -o "server.jar" "https://meta.fabricmc.net/v2/versions/loader/1.18.2/0.16.3/0.11.1/server/jar"
1824

1925

2026
RUN mkdir init

0 commit comments

Comments
 (0)