test
Some checks failed
Build and Push Minecraft Docker Images / build (push) Failing after 15s

This commit is contained in:
2025-07-03 06:02:53 -07:00
parent 79e5089581
commit 334bda004c
4 changed files with 17 additions and 15 deletions

View File

@@ -9,9 +9,12 @@ ENV FORGE_URL=https://maven.minecraftforge.net/net/minecraftforge/forge/1.19.2-4
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/refs/heads/master/forge/forge-1.19.2/files/Install_Script.sh
# Install java-17 & Dependencies.
RUN apt-get -y update && apt-get autoclean && apt-get autoremove \
&& apt-get -y --fix-broken install \
&& apt-get install -y --no-install-recommends openjdk-17-jdk screen bzip2 jq \
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 screen bzip2 jq \
&& rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates -f;