update
All checks were successful
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-detect-changes (push) Successful in 54s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-fabric (push) Successful in 15s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-neoforged (push) Successful in 1m47s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push fabric (push) Successful in 2m23s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push vanilla (push) Successful in 14s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push neoforged (push) Successful in 3m10s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-vanilla (push) Successful in 1m47s
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Successful in 9s
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Successful in 1m0s

This commit is contained in:
2025-12-17 14:20:51 -08:00
parent 5350de476d
commit a20d537247
10 changed files with 299 additions and 47 deletions

View File

@@ -1,12 +1,16 @@
FROM gitea.fithwum.tech/fithwum/debian-base:bookworm
LABEL maintainer="fithwum"
ENV ACCEPT_EULA="false"
ENV GAME_PORT=25565
ENV FORGE_URL=https://maven.minecraftforge.net/net/minecraftforge/forge/1.19.2-43.2.0/forge-1.19.2-43.2.0-installer.jar
ENV ACCEPT_EULA=""
ENV GAME_PORT=""
ENV SERVER_VERSION=""
ENV NEOFORGED_VERSION=""
ENV XMX_SIZE=""
ENV XMS_SIZE=""
ENV XMN_SIZE=""
# URL's for files
ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/minecraft/raw/branch/master/forge/Install_Script.sh
ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/minecraft/raw/branch/master/neoforged/Install_Script.sh
# Install java-17 & Dependencies.
RUN apt-get -y update && apt-get -y autoclean && apt-get -y autoremove \
@@ -22,10 +26,7 @@ RUN apt-get -y update && apt-get -y --fix-broken install \
RUN mkdir -p /MCserver /MCtemp \
&& chmod 777 -R /MCserver /MCtemp \
&& chown 99:100 -R /MCserver /MCtemp \
&& cd /MCserver \
&& wget $FORGE_URL -O forge-1.19.2-43.2.0-installer.jar \
&& java -jar forge-1.19.2-43.2.0-installer.jar --installServer \
&& rm -frv forge-1.19.2-43.2.0-installer.jar forge-1.19.2-43.2.0-installer.jar.log
&& cd /MCserver
ADD "$INSTALL_SCRIPT" /MCtemp
RUN chmod +x /MCtemp/Install_Script.sh