ENT-6609 update docker images (#7087)

This commit is contained in:
Ronan Browne 2022-02-24 09:36:00 +00:00 committed by GitHub
parent 5ad2486041
commit db817ef621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -2,6 +2,7 @@ FROM azul/zulu-openjdk:8u312
## Add packages, clean cache, create dirs, create corda user and change ownership
RUN apt-get update && \
apt-mark hold zulu8-jdk && \
apt-get -y upgrade && \
apt-get -y install bash curl unzip && \
rm -rf /var/lib/apt/lists/* && \

View File

@ -1,11 +1,10 @@
FROM amazonlinux:2
FROM amazoncorretto:8u312-al2
## Add packages, clean cache, create dirs, create corda user and change ownership
RUN amazon-linux-extras enable corretto8 && \
yum -y install java-1.8.0-amazon-corretto-devel && \
yum -y install bash && \
RUN yum -y install bash && \
yum -y install curl && \
yum -y install unzip && \
yum -y install shadow-utils.x86_64 && \
yum clean all && \
rm -rf /var/cache/yum && \
mkdir -p /opt/corda/cordapps && \