Skip to content

Commit 9ae5fd2

Browse files
author
Naduni Pamudika
committed
Add lang install to docker files
1 parent 5f582ea commit 9ae5fd2

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

dockerfiles/rocky/apim-analytics/dashboard/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
# set base Docker image to CentOS Docker image
2020
FROM rockylinux:9.3
2121

22+
# Install necessary locale packages
23+
RUN yum install -y glibc-langpack-en && \
24+
yum install -y langpacks-en glibc-locale-source && \
25+
localedef -c -f UTF-8 -i en_US en_US.UTF-8
26+
2227
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2328

2429
# install JDK Dependencies
@@ -65,7 +70,7 @@ RUN echo Verifying install ... \
6570
&& echo Complete.
6671

6772
LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
68-
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.8"
73+
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9"
6974

7075
# set Docker image build arguments
7176
# build arguments for user/group configurations

dockerfiles/rocky/apim-analytics/worker/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
# set base Docker image to Rocky Linux
2020
FROM rockylinux:9.3
2121

22+
# Install necessary locale packages
23+
RUN yum install -y glibc-langpack-en && \
24+
yum install -y langpacks-en glibc-locale-source && \
25+
localedef -c -f UTF-8 -i en_US en_US.UTF-8
26+
2227
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2328

2429
# install JDK Dependencies
@@ -65,7 +70,7 @@ RUN echo Verifying install ... \
6570
&& echo Complete.
6671

6772
LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
68-
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.8"
73+
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9"
6974

7075
# set Docker image build arguments
7176
# build arguments for user/group configurations

dockerfiles/rocky/apim/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
# set base Docker image to Rocky Linux
2020
FROM rockylinux:9.3
2121

22+
# Install necessary locale packages
23+
RUN yum install -y glibc-langpack-en && \
24+
yum install -y langpacks-en glibc-locale-source && \
25+
localedef -c -f UTF-8 -i en_US en_US.UTF-8
26+
2227
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2328

2429
# install JDK Dependencies
@@ -65,7 +70,7 @@ RUN echo Verifying install ... \
6570
&& echo Complete.
6671

6772
LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
68-
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.8"
73+
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.1.0.9"
6974
# set Docker image build arguments
7075
# build arguments for user/group configurations
7176
ARG USER=wso2carbon

0 commit comments

Comments
 (0)