mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
REPO-3299,REPO-3436,REPO-3437: License infor for PDFium, LibreOffice and ImageMagick
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
# Image provides a container in which to run LibreOffice transformations for Alfresco Content Services.
|
||||
|
||||
# LibreOffice is from The Document Foundation. See the license at https://www.libreoffice.org/download/license/ or in /libreoffice.txt
|
||||
|
||||
FROM quay.io/alfresco/alfresco-base-java:9
|
||||
|
||||
ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/5.4.6/libreoffice-dist-5.4.6-linux.gz
|
||||
ENV LIBREOFFICE_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/zip/src/main/resources/licenses/3rd-party/libreoffice.txt
|
||||
|
||||
COPY target/alfresco-docker-libreoffice-${env.project_version}.jar /usr/bin
|
||||
|
||||
@@ -10,6 +13,7 @@ RUN ln /usr/bin/alfresco-docker-libreoffice-${env.project_version}.jar /usr/bin/
|
||||
yum install -y wget && \
|
||||
yum install -y cairo cups-libs libSM && \
|
||||
wget $LIBREOFFICE_RPM_URL && \
|
||||
wget $LIBREOFFICE_LICENSE_FILE && \
|
||||
tar xzf libreoffice-dist-*-linux.gz && \
|
||||
yum localinstall -y LibreOffice*/RPMS/*.rpm && \
|
||||
rm -rf libreoffice-dist-*-linux.gz LibreOffice_*_Linux_x86-64_rpm && \
|
||||
|
10
alfresco-docker-libreoffice/LICENSES.md
Normal file
10
alfresco-docker-libreoffice/LICENSES.md
Normal file
@@ -0,0 +1,10 @@
|
||||
### Alfresco License
|
||||
|
||||
* See the [LICENSE](LICENSE) file in this directory.
|
||||
|
||||
### 3rd party Licenses
|
||||
|
||||
* This transformer uses LibreOffice from The Document Foundation. See the license at
|
||||
[https://www.libreoffice.org/download/license/](https://www.libreoffice.org/download/license/)
|
||||
or the [libreoffice.txt](https://github.com/Alfresco/acs-community-packaging/blob/master/zip/src/main/resources/licenses/3rd-party/libreoffice.txt)
|
||||
file placed in the root directory of the docker image.
|
@@ -81,7 +81,9 @@ public class LibreOfficeController extends AbstractTransformerController
|
||||
public LibreOfficeController() throws Exception
|
||||
{
|
||||
logger = LogFactory.getLog(LibreOfficeController.class);
|
||||
|
||||
logger.info("-------------------------------------------------------------------------------------------------------------------------------------------------------");
|
||||
logger.info("This transformer uses LibreOffice from The Document Foundation. See the license at https://www.libreoffice.org/download/license/ or in /libreoffice.txt");
|
||||
logger.info("-------------------------------------------------------------------------------------------------------------------------------------------------------");
|
||||
setJodConverter(createJodConverter());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user