mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 05:35:33 +03:00
stretch
This commit is contained in:
parent
4bbf367035
commit
00360a6fdc
@ -86,7 +86,6 @@ RUN apt-get update && \
|
||||
libcrypto++-dev \
|
||||
libbz2-dev \
|
||||
libvpx-dev \
|
||||
libvpx6 \
|
||||
tcl
|
||||
|
||||
##################################################################
|
||||
|
@ -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
|
||||
|
||||
##################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user