osma commented on issue #1998:
URL: https://github.com/apache/jena/issues/1998#issuecomment-1697401051

   I was able to install extra locales into the Fuseki image by modifying the 
Dockerfile like this:
   
   ```diff
   --- a/dockerfiles/jena-fuseki2-docker/Dockerfile
   +++ b/dockerfiles/jena-fuseki2-docker/Dockerfile
   @@ -94,6 +94,9 @@ ARG JENA_GROUP=$JENA_USER
    ARG JENA_GID=1000
    ARG JENA_UID=1000
    
   +# Install locales needed by ARQ collation
   +RUN apk add --no-cache musl-locales
   +
    # Run as this user
    # -H : no home directory
    # -D : no password
   @@ -116,7 +119,8 @@ ENV \
        JAVA_OPTIONS="-Xmx2048m -Xms2048m"  \
        JENA_VERSION=${JENA_VERSION}        \
        FUSEKI_JAR="${FUSEKI_JAR}"          \
   -    FUSEKI_DIR="${FUSEKI_DIR}"
   +    FUSEKI_DIR="${FUSEKI_DIR}"         \
   +    MUSL_LOCPATH=/usr/share/i18n/locales/musl
    
    EXPOSE 3030
    
   ```
   
   `locale -a` within the container now works and shows lots of installed 
locales, including `fi_FI`. However, the above query that tests ARQ collation 
support still doesn't return the correct result. So the problem may be 
elsewhere, or there is some other piece missing from the container.
   However, ARQ collation still doesn't work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to