From 1f3e349afe7e86bd8313e996c0e06cb0f11ed4d6 Mon Sep 17 00:00:00 2001 From: CrowleyRajapakse Date: Fri, 13 Oct 2023 10:25:17 +0530 Subject: [PATCH] adding upgrade ubuntu libraries step to dockerfile --- admin/admin-domain-service/docker/Dockerfile | 4 ++++ backoffice/backoffice-domain-service/docker/Dockerfile | 4 ++++ devportal/devportal-domain-service/docker/Dockerfile | 4 ++++ gateway/enforcer/Dockerfile | 4 ++++ idp/idp-domain-service/docker/Dockerfile | 4 ++++ runtime/config-deployer-service/docker/Dockerfile | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/admin/admin-domain-service/docker/Dockerfile b/admin/admin-domain-service/docker/Dockerfile index c4d0848e6..70993268f 100644 --- a/admin/admin-domain-service/docker/Dockerfile +++ b/admin/admin-domain-service/docker/Dockerfile @@ -22,6 +22,10 @@ FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' +# Upgrade Ubuntu Dependencies +RUN apt-get update \ + && apt-get upgrade -y + # install JDK Dependencies RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales \ diff --git a/backoffice/backoffice-domain-service/docker/Dockerfile b/backoffice/backoffice-domain-service/docker/Dockerfile index b4f5a01b9..0806c796c 100644 --- a/backoffice/backoffice-domain-service/docker/Dockerfile +++ b/backoffice/backoffice-domain-service/docker/Dockerfile @@ -22,6 +22,10 @@ FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' +# Upgrade Ubuntu Dependencies +RUN apt-get update \ + && apt-get upgrade -y + # install JDK Dependencies RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales \ diff --git a/devportal/devportal-domain-service/docker/Dockerfile b/devportal/devportal-domain-service/docker/Dockerfile index 635f37e3d..bf5b8e2dc 100644 --- a/devportal/devportal-domain-service/docker/Dockerfile +++ b/devportal/devportal-domain-service/docker/Dockerfile @@ -2,6 +2,10 @@ FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' +# Upgrade Ubuntu Dependencies +RUN apt-get update \ + && apt-get upgrade -y + # install JDK Dependencies RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales \ diff --git a/gateway/enforcer/Dockerfile b/gateway/enforcer/Dockerfile index 3226f78b3..88a9c9fa8 100644 --- a/gateway/enforcer/Dockerfile +++ b/gateway/enforcer/Dockerfile @@ -18,6 +18,10 @@ FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' +# Upgrade Ubuntu Dependencies +RUN apt-get update \ + && apt-get upgrade -y + # install JDK Dependencies RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales \ diff --git a/idp/idp-domain-service/docker/Dockerfile b/idp/idp-domain-service/docker/Dockerfile index adce6889e..6f8406c82 100644 --- a/idp/idp-domain-service/docker/Dockerfile +++ b/idp/idp-domain-service/docker/Dockerfile @@ -22,6 +22,10 @@ FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' +# Upgrade Ubuntu Dependencies +RUN apt-get update \ + && apt-get upgrade -y + # install JDK Dependencies RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales \ diff --git a/runtime/config-deployer-service/docker/Dockerfile b/runtime/config-deployer-service/docker/Dockerfile index 2cba56ae9..82f8ba2aa 100644 --- a/runtime/config-deployer-service/docker/Dockerfile +++ b/runtime/config-deployer-service/docker/Dockerfile @@ -3,6 +3,10 @@ FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' +# Upgrade Ubuntu Dependencies +RUN apt-get update \ + && apt-get upgrade -y + # install JDK Dependencies RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales \