From d0255a99a93d369b23ab44a273d618fee50b972d Mon Sep 17 00:00:00 2001 From: rahu1ramesh Date: Mon, 14 Aug 2023 12:03:54 +0530 Subject: [PATCH] [Parvathy, Rahul] | vulnerabilities | Add. amazoncorretto:11 As Docker Base Image Co-authored-by: Parvathy Babu --- package/docker/bahmni-reports/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/docker/bahmni-reports/Dockerfile b/package/docker/bahmni-reports/Dockerfile index 2302fce3..6a426b0e 100644 --- a/package/docker/bahmni-reports/Dockerfile +++ b/package/docker/bahmni-reports/Dockerfile @@ -1,4 +1,4 @@ -FROM amazoncorretto:8 +FROM amazoncorretto:11 ENV SERVER_PORT=8051 ENV BASE_DIR=/var/run/bahmni-reports @@ -15,7 +15,10 @@ RUN mkdir -p /var/log/bahmni-reports/ RUN yum install -y gettext unzip ADD https://raw.githubusercontent.com/eficode/wait-for/v2.2.3/wait-for /etc/wait-for -RUN yum install -y nc +RUN yum install -y nc \ + elfutils-libelf-0.176-2.amzn2.0.1 \ + libnghttp2-1.41.0-1.amzn2.0.1 + RUN chmod +x /etc/wait-for COPY target/bahmnireports.war /etc/bahmni-reports/bahmnireports.war