deb12 fix

This commit is contained in:
Anatolii Zimovskii 2022-05-09 01:14:39 +03:00
parent 800eeb1d1c
commit efd980232b
Signed by: stam
GPG Key ID: AA3A575AB99E8469
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ARG DEBIAN_FRONTEND=noninteractive
# installing java8 # installing java8
################################################################## ##################################################################
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
apt-get update && \ apt-get update && \
apt-get autoremove -y && \ apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated temurin-8-jdk && \ apt-get install -y --allow-unauthenticated temurin-8-jdk && \

View File

@ -6,7 +6,7 @@ ARG DEBIAN_FRONTEND=noninteractive
# installing java8 # installing java8
################################################################## ##################################################################
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \
apt-get update && \ apt-get update && \
apt-get autoremove -y && \ apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated temurin-8-jdk && \ apt-get install -y --allow-unauthenticated temurin-8-jdk && \