commit
b1c32f2a8a
@ -1,8 +1,7 @@
|
|||||||
# CentOS 7.9 from 18/11/2020
|
# CentOS 7.9 from 18/11/2020
|
||||||
FROM centos@sha256:e4ca2ed0202e76be184e75fb26d14bf974193579039d5573fb2348664deef76e
|
FROM centos@sha256:e4ca2ed0202e76be184e75fb26d14bf974193579039d5573fb2348664deef76e
|
||||||
RUN yum install -y wget && \
|
RUN mkdir -p /opt/openjdk && \
|
||||||
yum install -y curl && \
|
cd /opt/openjdk && \
|
||||||
wget --output-document jdk.rpm \
|
curl -L https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u202-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u202b08.tar.gz | tar zx --strip-components=1
|
||||||
https://cdn.azul.com/zulu/bin/zulu8.21.0.1-jdk8.0.131-linux.x86_64.rpm && \
|
ENV JAVA_HOME /opt/openjdk
|
||||||
yum --nogpg localinstall -y jdk.rpm && \
|
ENV PATH $JAVA_HOME/bin:$PATH
|
||||||
rm -f jdk.rpm
|
|
||||||
|
Loading…
Reference in New Issue