[ALF-22013] Docker Image for Base Tomcat locale is POSIX Created: 17-Jul-18  Updated: 16-Oct-19  Resolved: 07-Feb-19

Status: Closed
Project: Alfresco
Component/s: ACS Packaging
Affects Version/s: None
Fix Version/s: ACS 201910-EA
Security Level: external (External user)

Type: Bug Priority: Unprioritized
Reporter: Angel Borroy Assignee: Closed Issues
Resolution: Fixed Votes: 0
Labels: triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Docker


Issue Links:
Related
Shadow
Date of First Response:
Resolution Time Custom Field: 29 weeks, 1 day, 23 hours, 14 minutes, 8 seconds

 Description   

Locale for Docker Container running Alfresco repository is POSIX.

Steps to reproduce:

 

$ docker run alfresco/alfresco-base-tomcat:8.5
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f1c96679ddd3 alfresco/alfresco-base-tomcat:8.5 "catalina.sh run -se…" 4 seconds ago Up 5 seconds 8080/tcp heuristic_volhard
$ docker exec -it heuristic_volhard /bin/bash
[root@f1c96679ddd3 tomcat]# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

 



 Comments   
Comment by Derek Hulley [X] (Inactive) [ 17-Jul-18 ]

What would your proposal be, Angel Borroy?
https://github.com/Alfresco/alfresco-docker-base-tomcat
https://github.com/Alfresco/alfresco-docker-base-java

Comment by Angel Borroy [ 17-Jul-18 ]

I usually set UTF-8, which works fine for many integrations.

Comment by Derek Hulley [X] (Inactive) [ 18-Jul-18 ]

Please provide a PR against https://github.com/Alfresco/alfresco-docker-base-java.
Since this is a shared component, we'll have a discussion on the impact across all our images; I would prefer UTF-8 as well.

Comment by Angel Borroy [ 18-Jul-18 ]

It looks like a CentOS issue: https://github.com/CentOS/sig-cloud-instance-images/issues/71 

Anyway, my suggestion at https://github.com/Alfresco/alfresco-docker-base-java/pull/21 

Comment by Ray Gauss [X] (Inactive) [ 23-Aug-18 ]

Apologies for the delay, and thanks for the suggestion.

We'll be taking a closer look at this in the near future.

Comment by Greg Melahn [X] (Inactive) [ 07-Feb-19 ]

PR #21 merged

Generated at Thu Jul 09 10:04:15 BST 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.