mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 22:57:55 +03:00
jre fix
This commit is contained in:
commit
44867221d7
@ -9,10 +9,10 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb buster main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk temurin-18-jre && \
|
||||
# mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
# ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
# ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
|
@ -9,10 +9,10 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a
|
||||
echo 'deb https://packages.adoptium.net/artifactory/deb buster main' > /etc/apt/sources.list.d/temurin-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk temurin-18-jre && \
|
||||
# mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
# ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
# ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
|
||||
mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
|
||||
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
|
||||
java -version
|
||||
|
||||
##################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user