From 610855e87b9b928dd230231be6b9922cd898a375 Mon Sep 17 00:00:00 2001 From: divyagovindaiah Date: Wed, 13 Aug 2025 10:49:25 +0530 Subject: [PATCH] fixed the vul --- build/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 9585378..475c9f9 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,9 +1,12 @@ FROM --platform=linux/x86_64 eclipse-temurin:11.0.20.1_1-jdk-focal RUN apt-get update \ + && apt-get upgrade -y \ && apt-get install -y unzip curl \ && adduser --uid 1001 --home /home/sunbird/ --disabled-login sunbird \ && mkdir -p /home/sunbird \ - && chown -R sunbird:sunbird /home/sunbird + && chown -R sunbird:sunbird /home/sunbird \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* RUN chown -R sunbird:sunbird /home/sunbird USER sunbird COPY ./target/sunbird-dial-service-1.0-SNAPSHOT-dist.zip /home/sunbird/