ATS-968 Migrate to CentOS 7 base images (#490)

This commit is contained in:
Piotr Żurek
2021-12-08 10:26:16 +01:00
committed by GitHub
parent 7597664f23
commit 0e0fe67798
6 changed files with 119 additions and 126 deletions

View File

@@ -2,7 +2,7 @@
# Tika is from Apache. See the license at http://www.apache.org/licenses/LICENSE-2.0.
FROM alfresco/alfresco-base-java:11.0.12-centos-811@sha256:f1bb731da820f33dc1e3cfe27d3192b67d68237d0a4441829140dfbd1e48c8a5
FROM alfresco/alfresco-base-java:11.0.13-centos-7@sha256:c1e399d1bbb5d08e0905f1a9ef915ee7c5ea0c0ede11cc9bd7ca98532a9b27fa
ARG EXIFTOOL_VERSION=12.25
ARG EXIFTOOL_FOLDER=Image-ExifTool-${EXIFTOOL_VERSION}
@@ -21,7 +21,7 @@ COPY target/${env.project_artifactId}-${env.project_version}.jar /usr/bin
RUN ln /usr/bin/${env.project_artifactId}-${env.project_version}.jar /usr/bin/${env.project_artifactId}.jar && \
curl -s -S $EXIFTOOL_URL -o ${EXIFTOOL_FOLDER}.tgz && \
tar xzf ${EXIFTOOL_FOLDER}.tgz && \
yum -y install perl && \
yum -y install perl perl-ExtUtils-MakeMaker make && \
(cd ./${EXIFTOOL_FOLDER} && \
perl Makefile.PL && \
make && \