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
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:
40
testing-neoforged/Dockerfile
Normal file
40
testing-neoforged/Dockerfile
Normal file
@@ -0,0 +1,40 @@
|
||||
FROM gitea.fithwum.tech/fithwum/debian-base:bookworm
|
||||
LABEL maintainer="fithwum"
|
||||
|
||||
ENV ACCEPT_EULA=""
|
||||
ENV GAME_PORT=""
|
||||
ENV NEOFORGE_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/neoforged/Install_Script.sh
|
||||
|
||||
# Install java-17 & Dependencies.
|
||||
RUN apt-get -y update && apt-get -y autoclean && apt-get -y autoremove \
|
||||
&& apt-get install -y wget
|
||||
RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||
&& dpkg -i packages-microsoft-prod.deb
|
||||
RUN apt-get -y update && apt-get -y --fix-broken install \
|
||||
&& apt-get install -y --no-install-recommends msopenjdk-21 bzip2 lsb-release screen jq \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& update-ca-certificates -f;
|
||||
|
||||
# Folder creation.
|
||||
RUN mkdir -p /MCserver /MCtemp \
|
||||
&& chmod 777 -R /MCserver /MCtemp \
|
||||
&& chown 99:100 -R /MCserver /MCtemp \
|
||||
&& cd /MCserver
|
||||
|
||||
ADD "$INSTALL_SCRIPT" /MCtemp
|
||||
RUN chmod +x /MCtemp/Install_Script.sh
|
||||
|
||||
# Directory where data is stored
|
||||
VOLUME /MCserver
|
||||
|
||||
# 25565 Default.
|
||||
EXPOSE 25565/udp 25565/tcp
|
||||
|
||||
# Run command
|
||||
CMD [ "/bin/bash", "./MCtemp/Install_Script.sh" ]
|
||||
Reference in New Issue
Block a user