This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user