mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-07 17:48:35 +00:00
ATS-893 Add Exiftool to docker containers & add licences (#384)
* ATS-893 Add Exiftool to docker containers & add licences
This commit is contained in:
@@ -7,7 +7,6 @@ FROM alfresco/alfresco-base-java:11.0.10-openjdk-centos-8@sha256:80b36118c9efd70
|
||||
ARG LIBREOFFICE_VERSION=6.3.5
|
||||
|
||||
ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/${LIBREOFFICE_VERSION}/libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz
|
||||
ENV LIBREOFFICE_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/distribution/src/main/resources/licenses/3rd-party/libreoffice.txt
|
||||
ENV JAVA_OPTS=""
|
||||
|
||||
# Set default user information
|
||||
@@ -23,7 +22,6 @@ RUN ln /${env.project_artifactId}-${env.project_version}.jar /usr/bin/${env.proj
|
||||
test -f libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz && \
|
||||
ln -s libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz libreoffice-dist-linux.gz || \
|
||||
curl -s -S $LIBREOFFICE_RPM_URL -o libreoffice-dist-linux.gz && \
|
||||
curl -s -S $LIBREOFFICE_LICENSE_FILE -o libreoffice.txt && \
|
||||
tar xzf libreoffice-dist-linux.gz && \
|
||||
yum localinstall -y LibreOffice*/RPMS/*.rpm && \
|
||||
rm -rf libreoffice-dist-*linux.gz LibreOffice_*_Linux_x86-64_rpm && \
|
||||
@@ -32,6 +30,7 @@ RUN ln /${env.project_artifactId}-${env.project_version}.jar /usr/bin/${env.proj
|
||||
ADD target/generated-resources/licenses /licenses
|
||||
ADD target/generated-resources/licenses.xml /licenses/
|
||||
ADD target/generated-sources/license/THIRD-PARTY.txt /licenses/
|
||||
COPY src/main/resources/licenses/3rd-party/ /
|
||||
|
||||
RUN groupadd -g ${GROUPID} ${GROUPNAME} && \
|
||||
useradd -u ${USERID} -G ${GROUPNAME} ${LIBREUSERNAME} && \
|
||||
|
@@ -2,5 +2,5 @@
|
||||
|
||||
* 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)
|
||||
or the [libreoffice.txt](src/main/resources/licenses/3rd-party/libreoffice.txt)
|
||||
file placed in the root directory of the docker image.
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user