This commit is contained in:
Anatolii Zimovskii 2022-05-07 00:11:10 +03:00
parent 4bbf367035
commit 00360a6fdc
Signed by: stam
GPG Key ID: AA3A575AB99E8469
2 changed files with 1 additions and 5 deletions

View File

@ -86,7 +86,6 @@ RUN apt-get update && \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl
##################################################################

View File

@ -5,14 +5,11 @@ ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java8
##################################################################
RUN RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated temurin-8-jdk && \
mkdir /usr/lib/jvm/temurin-8-jdk-amd64/jre && \
ln -s /usr/lib/jvm/temurin-8-jdk-amd64/bin/ /usr/lib/jvm/temurin-8-jdk-amd64/jre/bin && \
ln -s /usr/lib/jvm/temurin-8-jdk-amd64/lib/ /usr/lib/jvm/temurin-8-jdk-amd64/jre/lib && \
java -version
##################################################################