Skip to content

Commit

Permalink
ENT-6609 update docker images (corda#7086)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanbrowne authored Feb 24, 2022
1 parent 59272e8 commit 3f94ed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions docker/src/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/* && \
Expand Down
7 changes: 3 additions & 4 deletions docker/src/docker/DockerfileAL
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down

0 comments on commit 3f94ed6

Please sign in to comment.