Merge pull request #7115 from corda/ronanb/ENT-6699/update-java-version

ENT-6699 Ensure correct java version in base image
This commit is contained in:
Ronan Browne 2022-03-16 15:10:10 +00:00 committed by GitHub
commit 86ce5cf40a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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/* && \

View File

@ -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 netstat lsof telnet netcat && \ apt-get -y install bash curl unzip netstat lsof telnet netcat && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \