From 9ae5fd27e88c9a91ca024d3700d770a1fc177266 Mon Sep 17 00:00:00 2001 From: Naduni Pamudika Date: Fri, 27 Sep 2024 11:07:30 +0530 Subject: [PATCH 1/2] Add lang install to docker files --- dockerfiles/rocky/apim-analytics/dashboard/Dockerfile | 7 ++++++- dockerfiles/rocky/apim-analytics/worker/Dockerfile | 7 ++++++- dockerfiles/rocky/apim/Dockerfile | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile b/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile index b881db5c..4cd9bf5b 100644 --- a/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile +++ b/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile @@ -19,6 +19,11 @@ # set base Docker image to CentOS Docker image FROM rockylinux:9.3 +# Install necessary locale packages +RUN yum install -y glibc-langpack-en && \ + yum install -y langpacks-en glibc-locale-source && \ + localedef -c -f UTF-8 -i en_US en_US.UTF-8 + ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # install JDK Dependencies @@ -65,7 +70,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.8" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/rocky/apim-analytics/worker/Dockerfile b/dockerfiles/rocky/apim-analytics/worker/Dockerfile index 67222433..caf6bc6a 100644 --- a/dockerfiles/rocky/apim-analytics/worker/Dockerfile +++ b/dockerfiles/rocky/apim-analytics/worker/Dockerfile @@ -19,6 +19,11 @@ # set base Docker image to Rocky Linux FROM rockylinux:9.3 +# Install necessary locale packages +RUN yum install -y glibc-langpack-en && \ + yum install -y langpacks-en glibc-locale-source && \ + localedef -c -f UTF-8 -i en_US en_US.UTF-8 + ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # install JDK Dependencies @@ -65,7 +70,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.8" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/rocky/apim/Dockerfile b/dockerfiles/rocky/apim/Dockerfile index 3ac76ddd..4ee1cfba 100644 --- a/dockerfiles/rocky/apim/Dockerfile +++ b/dockerfiles/rocky/apim/Dockerfile @@ -19,6 +19,11 @@ # set base Docker image to Rocky Linux FROM rockylinux:9.3 +# Install necessary locale packages +RUN yum install -y glibc-langpack-en && \ + yum install -y langpacks-en glibc-locale-source && \ + localedef -c -f UTF-8 -i en_US en_US.UTF-8 + ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # install JDK Dependencies @@ -65,7 +70,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.8" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9" # set Docker image build arguments # build arguments for user/group configurations ARG USER=wso2carbon From 67abd810594ff065435d24b4545beb5e9cf41555 Mon Sep 17 00:00:00 2001 From: Naduni Pamudika Date: Fri, 27 Sep 2024 11:14:08 +0530 Subject: [PATCH 2/2] Update release tag --- dockerfiles/rocky/apim-analytics/dashboard/Dockerfile | 2 +- dockerfiles/rocky/apim-analytics/worker/Dockerfile | 2 +- dockerfiles/rocky/apim/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile b/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile index 4cd9bf5b..e1f55835 100644 --- a/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile +++ b/dockerfiles/rocky/apim-analytics/dashboard/Dockerfile @@ -70,7 +70,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.10" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/rocky/apim-analytics/worker/Dockerfile b/dockerfiles/rocky/apim-analytics/worker/Dockerfile index caf6bc6a..e31b1ddb 100644 --- a/dockerfiles/rocky/apim-analytics/worker/Dockerfile +++ b/dockerfiles/rocky/apim-analytics/worker/Dockerfile @@ -70,7 +70,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.10" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/rocky/apim/Dockerfile b/dockerfiles/rocky/apim/Dockerfile index 4ee1cfba..471a7f77 100644 --- a/dockerfiles/rocky/apim/Dockerfile +++ b/dockerfiles/rocky/apim/Dockerfile @@ -70,7 +70,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.10" # set Docker image build arguments # build arguments for user/group configurations ARG USER=wso2carbon