mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2026-09-16 18:12:54 +00:00
ACS-10505 generating xcu file via script instead of officemanager
This commit is contained in:
@@ -85,11 +85,6 @@ RUN groupadd -g ${GROUPID} ${GROUPNAME} && \
|
||||
useradd -u ${USERID} -G ${GROUPNAME} ${AIOUSERNAME} && \
|
||||
chgrp -R ${GROUPNAME} /usr/bin/${env.project_artifactId}.jar
|
||||
|
||||
RUN mkdir -p /opt/libreoffice-profile/workDir && \
|
||||
mkdir -p /opt/libreoffice-profile/templateProfileDir/user && \
|
||||
chown -R ${USERID}:${GROUPID} /opt/libreoffice-profile && \
|
||||
chmod -R 775 /opt/libreoffice-profile
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
USER ${AIOUSERNAME}
|
||||
|
||||
@@ -10,11 +10,8 @@ transform:
|
||||
maxTasksPerProcess: ${LIBREOFFICE_MAX_TASKS_PER_PROCESS:200}
|
||||
timeout: ${LIBREOFFICE_TIMEOUT:1200000}
|
||||
portNumbers: ${LIBREOFFICE_PORT_NUMBERS:8100}
|
||||
templateProfileDir: ${LIBREOFFICE_TEMPLATE_PROFILE_DIR:default_alfresco}
|
||||
isEnabled: ${LIBREOFFICE_IS_ENABLED:true}
|
||||
enableTemplateProfile: false
|
||||
templateProfileDir: ${LIBREOFFICE_TEMPLATE_PROFILE_DIR:/opt/libreoffice-profile/templateProfileDir}
|
||||
workdir: ${LIBREOFFICE_WORK_PROFILE_DIR:/opt/libreoffice-profile/workDir}
|
||||
disableExternalLinks: true
|
||||
imagemagick:
|
||||
root: ${IMAGEMAGICK_ROOT:/usr/lib64/ImageMagick-7.1.2}
|
||||
dyn: ${IMAGEMAGICK_DYN:/usr/lib64/ImageMagick-7.1.2/lib}
|
||||
|
||||
@@ -21,7 +21,7 @@ cat > "$OUTPUT_FILE" << EOF
|
||||
EOF
|
||||
|
||||
# Item 1
|
||||
if [ "$TEMPLATE_PROFILE" = "libreoffice/templateProfile" ]; then
|
||||
if [ "$TEMPLATE_PROFILE" = "default_alfresco" ]; then
|
||||
cat >> "$OUTPUT_FILE" << EOF
|
||||
<item oor:path="/org.openoffice.Office.Common/Security/Scripting">
|
||||
<prop oor:name="BlockUntrustedRefererLinks" oor:op="fuse">
|
||||
|
||||
Reference in New Issue
Block a user