Skip to content

Commit 9e9a5e3

Browse files
authored
Get required mods from older modpack version
1 parent 451322c commit 9e9a5e3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ RUN rm -r /tmp/rcon.tar.gz /tmp/rcon
1212
RUN mkdir /data
1313
WORKDIR /data
1414
RUN curl -fsSL -o "/tmp/pack.zip" "https://www.curseforge.com/api/v1/mods/681792/files/4731348/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
16-
RUN curl -fsSL -o "mods/vinery.jar" "https://cdn.modrinth.com/data/1DWmBJVA/versions/cLYVl6S1/vinery-1.1.4.jar"
17-
RUN curl -fsSL -o "mods/heph.jar" "https://cdn.modrinth.com/data/sdSn3wvy/versions/hEFa9Ofs/Hephaestus-1.18.2-3.5.2.155.jar"
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/
1820
RUN rm /tmp/pack.zip
19-
21+
RUN rm /tmp/old.zip
22+
RUN rm -rf /tmp/old/
2023
RUN curl -fsSL -o "server.jar" "https://meta.fabricmc.net/v2/versions/loader/1.18.2/0.14.22/0.11.2/server/jar"
2124

2225

0 commit comments

Comments
 (0)