mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-07-31 17:38:33 +00:00
Fix/acs 5039 libreoffice home arm64 (#843)
* ACS-5039 - fix libreoffice installation and set LIBREOFFICE_HOME for arm64 - aio * ACS-5039 - fix libreoffice installation and set LIBREOFFICE_HOME for arm64 - libreoffice * ACS-5039 - Libreoffice home set by script * ACS-5039 - Libreoffice home set by docker-entry point script * ACS-5039 - Added EOL
This commit is contained in:
9
engines/aio/docker-entrypoint.sh
Executable file
9
engines/aio/docker-entrypoint.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if the architecture is ARM64 (aarch64)
|
||||
if [[ "$(uname -m)" != "x86_64" ]]; then
|
||||
export LIBREOFFICE_HOME=${LIBREOFFICE_HOME:=/usr/lib64/libreoffice}
|
||||
fi
|
||||
|
||||
# Run the Alfresco transformation service JAR file with the specified Java options
|
||||
exec java $JAVA_OPTS -jar /usr/bin/${1}.jar "$@"
|
Reference in New Issue
Block a user