REPO-3264: changes for release process.

Add maven env variable env.project_version to be used in the Dockerfile.
This commit is contained in:
Alexandru-Eusebiu Epure
2018-03-22 15:27:53 +02:00
parent 51bcc220e1
commit a6c2e24121
4 changed files with 7 additions and 6 deletions

View File

@@ -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 && \