diff --git a/dockerfiles/jdk17/ubuntu/apim/Dockerfile b/dockerfiles/jdk17/ubuntu/apim/Dockerfile index 235cfa4e..31cfae90 100755 --- a/dockerfiles/jdk17/ubuntu/apim/Dockerfile +++ b/dockerfiles/jdk17/ubuntu/apim/Dockerfile @@ -17,13 +17,13 @@ # ------------------------------------------------------------------------ # set base Docker image to Ubuntu -FROM ubuntu:22.04 +FROM ubuntu:24.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # install dependencies RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat unzip wget \ + && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat-traditional unzip wget \ && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ && locale-gen en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* @@ -116,7 +116,7 @@ RUN \ && rm -f ${WSO2_SERVER}.zip # remove unnecesary packages -RUN apt-get purge -y netcat unzip wget +RUN apt-get purge -y netcat-traditional unzip wget # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/ubuntu/apim/Dockerfile b/dockerfiles/ubuntu/apim/Dockerfile index c22176bb..c3e757c2 100755 --- a/dockerfiles/ubuntu/apim/Dockerfile +++ b/dockerfiles/ubuntu/apim/Dockerfile @@ -17,13 +17,13 @@ # ------------------------------------------------------------------------ # set base Docker image to Ubuntu -FROM ubuntu:22.04 +FROM ubuntu:24.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # install dependencies RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat unzip wget \ + && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat-traditional unzip wget \ && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ && locale-gen en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* @@ -113,7 +113,7 @@ RUN \ && rm -f ${WSO2_SERVER}.zip # remove unnecesary packages -RUN apt-get purge -y netcat unzip wget +RUN apt-get purge -y netcat-traditional unzip wget # set the user and work directory USER ${USER_ID}