This commit is contained in:
@@ -11,7 +11,7 @@ ENV XMN_SIZE=""
|
|||||||
|
|
||||||
# URL's for files
|
# URL's for files
|
||||||
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/refs/heads/master/fabric/install_script.sh
|
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/refs/heads/master/fabric/install_script.sh
|
||||||
ARG JAVA=https://github.com/microsoft/openjdk/releases/download/jdk-21+35/msopenjdk-21+35-x64.tar.gz
|
ARG JAVA=https://aka.ms/download-jdk/microsoft-jdk-21.0.7-linux-x64.tar.gz
|
||||||
|
|
||||||
# Install Dependencies.
|
# Install Dependencies.
|
||||||
RUN apt-get -y update \
|
RUN apt-get -y update \
|
||||||
@@ -22,7 +22,7 @@ RUN apt-get -y update \
|
|||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& update-ca-certificates -f;
|
&& update-ca-certificates -f;
|
||||||
|
|
||||||
# Install Microsoft OpenJDK 21 (manually download from GitHub)
|
# Install Microsoft OpenJDK 21 (manuall download)
|
||||||
RUN wget "$JAVA" -O /tmp/msopenjdk-21.tar.gz \
|
RUN wget "$JAVA" -O /tmp/msopenjdk-21.tar.gz \
|
||||||
&& mkdir -p /usr/lib/jvm \
|
&& mkdir -p /usr/lib/jvm \
|
||||||
&& tar -xvzf /tmp/msopenjdk-21.tar.gz -C /usr/lib/jvm \
|
&& tar -xvzf /tmp/msopenjdk-21.tar.gz -C /usr/lib/jvm \
|
||||||
|
|||||||
Reference in New Issue
Block a user