mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
Add fabric8 plugin to all docker projects and removed the /docker projects that created the images
Refactor all poms and moved the sources up a level
This commit is contained in:
21
alfresco-docker-libreoffice/Dockerfile
Normal file
21
alfresco-docker-libreoffice/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
# Image provides a container in which to run LibreOffice transformations for Alfresco Content Services.
|
||||
|
||||
FROM quay.io/alfresco/alfresco-base-java:9
|
||||
|
||||
ENV LIBREOFFICE_RPM_URL=http://download.documentfoundation.org/libreoffice/stable/5.4.5/rpm/x86_64/LibreOffice_5.4.5_Linux_x86-64_rpm.tar.gz
|
||||
|
||||
COPY target/alfresco-docker-libreoffice*.jar /usr/bin
|
||||
|
||||
RUN ln /usr/bin/alfresco-docker-libreoffice*.jar /usr/bin/alfresco-docker-libreoffice.jar && \
|
||||
yum install -y wget && \
|
||||
yum install -y cairo cups-libs libSM && \
|
||||
wget $LIBREOFFICE_RPM_URL && \
|
||||
tar xzf LibreOffice_*_Linux_x86-64_rpm.tar.gz && \
|
||||
yum localinstall -y LibreOffice*/RPMS/*.rpm && \
|
||||
rm -rf LibreOffice_*_Linux_x86-64_rpm.tar.gz LibreOffice_*_Linux_x86-64_rpm && \
|
||||
yum remove -y wget && \
|
||||
yum clean all
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
ENTRYPOINT java -jar /usr/bin/alfresco-docker-libreoffice.jar
|
Reference in New Issue
Block a user