mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-10-08 14:51:18 +00:00
REPO-3264: changes for release process.
Add maven env variable env.project_version to be used in the Dockerfile.
This commit is contained in:
@@ -4,9 +4,9 @@ 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
|
||||
COPY target/alfresco-docker-libreoffice-${env.project_version}.jar /usr/bin
|
||||
|
||||
RUN ln /usr/bin/alfresco-docker-libreoffice*.jar /usr/bin/alfresco-docker-libreoffice.jar && \
|
||||
RUN ln /usr/bin/alfresco-docker-libreoffice-${env.project_version}.jar /usr/bin/alfresco-docker-libreoffice.jar && \
|
||||
yum install -y wget && \
|
||||
yum install -y cairo cups-libs libSM && \
|
||||
wget $LIBREOFFICE_RPM_URL && \
|
||||
|
Reference in New Issue
Block a user