mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-07-31 17:38:33 +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-imagemagick/Dockerfile
Normal file
21
alfresco-docker-imagemagick/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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-26.x86_64.rpm
|
||||
ENV IMAGEMAGICK_LIB_RPM_URL=https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-libs-7.0.7-26.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
|
Reference in New Issue
Block a user