forge
This commit is contained in:
parent
ddaa081799
commit
e9386f54d4
35
minecraft-forge.build.yml
Normal file
35
minecraft-forge.build.yml
Normal file
@ -0,0 +1,35 @@
|
||||
registries:
|
||||
- registry.tek.govt.hu
|
||||
repos:
|
||||
- name: minecraft-forge
|
||||
library: dowerx
|
||||
path: minecraft-forge
|
||||
args:
|
||||
- key: MINECRAFT_VERSION
|
||||
value: "${MINECRAFT_VERSION}"
|
||||
- key: FORGE_VERSION
|
||||
value: "${FORGE_VERSION}"
|
||||
tags:
|
||||
- name: latest
|
||||
tags:
|
||||
- amd64
|
||||
- arm64
|
||||
- name: "${MINECRAFT_VERSION}"
|
||||
tags:
|
||||
- "${MINECRAFT_VERSION}-amd64"
|
||||
- "${MINECRAFT_VERSION}-arm64"
|
||||
- name: "${MINECRAFT_VERSION}-${FORGE_VERSION}"
|
||||
tags:
|
||||
- "${MINECRAFT_VERSION}-${FORGE_VERSION}-amd64"
|
||||
- "${MINECRAFT_VERSION}-${FORGE_VERSION}-arm64"
|
||||
builds:
|
||||
- arch: amd64
|
||||
tags:
|
||||
- amd64
|
||||
- "${MINECRAFT_VERSION}-amd64"
|
||||
- "${MINECRAFT_VERSION}-${FORGE_VERSION}-amd64"
|
||||
- arch: arm64
|
||||
tags:
|
||||
- arm64
|
||||
- "${MINECRAFT_VERSION}-arm64"
|
||||
- "${MINECRAFT_VERSION}-${FORGE_VERSION}-arm64"
|
17
minecraft-forge/Dockerfile
Normal file
17
minecraft-forge/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
# registry.tek.govt.hu/dowerx/minecraft-forge
|
||||
|
||||
FROM registry.tek.govt.hu/dowerx/java-base:21-jre
|
||||
|
||||
ARG MINECRAFT_VERSION="1.20.1"
|
||||
ARG FORGE_VERSION="47.3.0"
|
||||
|
||||
ADD https://maven.minecraftforge.net/net/minecraftforge/forge/${MINECRAFT_VERSION}-${FORGE_VERSION}/forge-${MINECRAFT_VERSION}-${FORGE_VERSION}-installer.jar /forge-installer.jar
|
||||
|
||||
RUN java -jar /forge-installer.jar --installServer /minecraft
|
||||
|
||||
WORKDIR /minecraft
|
||||
|
||||
EXPOSE 25565
|
||||
EXPOSE 25575
|
||||
|
||||
ENTRYPOINT [ "/minecraft/run.sh", "-nogui" ]
|
Loading…
Reference in New Issue
Block a user