Skip to content

Commit

Permalink
Add snippet to download necessary locale packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyamSanthosh committed Jul 18, 2024
1 parent b82d774 commit 8dcd520
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dockerfiles/rocky/is-analytics/dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@
# ------------------------------------------------------------------------

# Set base Docker image to Rocky Linux Docker image.
FROM rockylinux:7
FROM rockylinux:9.3
LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.8.0.10"

# 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.
Expand Down
6 changes: 6 additions & 0 deletions dockerfiles/rocky/is-analytics/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
FROM rockylinux:9.3
LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.8.0.10"

# 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.
Expand Down
6 changes: 6 additions & 0 deletions dockerfiles/rocky/is/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
FROM rockylinux:9.3
LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.8.0.10"

# 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.
Expand Down

0 comments on commit 8dcd520

Please sign in to comment.