Alexandru-Eusebiu Epure 16df677a25 REPO-3264: changes for release process.
Changed release stage repository from /enterprise-releases to /internal-releases
   Refactor fabric8 maven plugin and the 3 profiles.
   Comented push to dockerhub, change phase from install to deploy
2018-03-21 17:57:01 +02:00

22 lines
854 B
Docker

# Image provides a container in which to run ImageMagick transformations for Alfresco Content Services.
FROM quay.io/alfresco/alfresco-base-java:9
ENV IMAGEMAGICK_RPM_URL=https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-7.0.7-27.x86_64.rpm
ENV IMAGEMAGICK_LIB_RPM_URL=https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-libs-7.0.7-27.x86_64.rpm
COPY target/alfresco-docker-imagemagick*.jar /usr/bin
RUN ln /usr/bin/alfresco-docker-imagemagick*.jar /usr/bin/alfresco-docker-imagemagick.jar && \
yum install -y wget && \
wget $IMAGEMAGICK_RPM_URL && \
wget $IMAGEMAGICK_LIB_RPM_URL && \
yum localinstall -y ImageMagick-*.x86_64.rpm && \
rm -f ImageMagick-*.x86_64.rpm && \
yum remove -y wget && \
yum clean all
EXPOSE 8090
ENTRYPOINT java -jar /usr/bin/alfresco-docker-imagemagick.jar