This commit is contained in:
2023-11-17 07:10:38 -08:00
parent 45261f16e8
commit 94a82bdff9
5 changed files with 15 additions and 20 deletions

View File

@@ -9,10 +9,9 @@ ENV FORGE_URL=https://maven.minecraftforge.net/net/minecraftforge/forge/1.19.2-4
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/forge/forge-1.19.2/files/Install_Script.sh
# Install java-17 & Dependencies.
RUN apt-get -y update \
&& apt-get -y --fix-broken install \
&& apt-get install -y --no-install-recommends ca-certificates wget nano software-properties-common openjdk-17-jdk bzip2 \
&& apt-get clean \
RUN apt -y update && apt autoclean && apt -y autoremove \
&& apt -y --fix-broken install \
&& apt install -y --no-install-recommends ca-certificates wget nano software-properties-common screen bzip2 jq curl \
&& rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates -f;