mirror of
https://github.com/corda/corda.git
synced 2025-06-20 16:10:26 +00:00
ENT-6609 update docker images (#7086)
This commit is contained in:
@ -2,6 +2,7 @@ FROM azul/zulu-openjdk:8u312
|
|||||||
|
|
||||||
## Add packages, clean cache, create dirs, create corda user and change ownership
|
## Add packages, clean cache, create dirs, create corda user and change ownership
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
apt-mark hold zulu8-jdk && \
|
||||||
apt-get -y upgrade && \
|
apt-get -y upgrade && \
|
||||||
apt-get -y install bash curl unzip && \
|
apt-get -y install bash curl unzip && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
FROM amazonlinux:2
|
FROM amazoncorretto:8u312-al2
|
||||||
|
|
||||||
## Add packages, clean cache, create dirs, create corda user and change ownership
|
## Add packages, clean cache, create dirs, create corda user and change ownership
|
||||||
RUN amazon-linux-extras enable corretto8 && \
|
RUN yum -y install bash && \
|
||||||
yum -y install java-1.8.0-amazon-corretto-devel && \
|
|
||||||
yum -y install bash && \
|
|
||||||
yum -y install curl && \
|
yum -y install curl && \
|
||||||
yum -y install unzip && \
|
yum -y install unzip && \
|
||||||
|
yum -y install shadow-utils.x86_64 && \
|
||||||
yum clean all && \
|
yum clean all && \
|
||||||
rm -rf /var/cache/yum && \
|
rm -rf /var/cache/yum && \
|
||||||
mkdir -p /opt/corda/cordapps && \
|
mkdir -p /opt/corda/cordapps && \
|
||||||
|
Reference in New Issue
Block a user