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

This commit is contained in:
2025-07-03 06:58:08 -07:00
parent 94482ec7e0
commit 2938cf16f8
3 changed files with 22 additions and 8 deletions

View File

@@ -32,6 +32,12 @@ RUN wget "$JAVA" -O /tmp/msopenjdk-21.tar.gz \
&& update-alternatives --install /usr/bin/java java /usr/lib/jvm/msopenjdk-21/bin/java 1 \
&& update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/msopenjdk-21/bin/javac 1
# Install java
# RUN wget https://packages.microsoft.com/config/debian/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
# && dpkg -i packages-microsoft-prod.deb \
# && apt-get install -y msopenjdk-21 \
# && apt-get -y update && apt-get -y --fix-broken install
# Folder creation.
RUN mkdir -p /MCserver /MCtemp \
&& chmod 777 -R /MCserver /MCtemp \