ATS-986: Experiment to switch Java Base Image (from CentOS 7 to Rocky Linux 8)

- temporarily downgrade from I/M 7.1.0-16 to 7.1.0-7
- fix ExifTool tests (perl was apparently removed - commented out "yum autoremove make" for now)

- TODO fix I/M rpm build scripts for "linux" (for CentOS 8 / Rocky Linux 8)
- TODO upload built rpms to Nexus
- TODO review & remove commented out "yum autoremove make" (check green quay.io)
This commit is contained in:
Jan Vonka
2022-03-20 11:29:26 +00:00
parent 7d97384778
commit b256bb2dc2
2 changed files with 6 additions and 4 deletions

View File

@@ -48,13 +48,14 @@ RUN ln /usr/bin/alfresco-transform-core-aio-boot-${env.project_version}.jar /usr
rm -f alfresco-pdf-renderer-linux.tgz && \
curl -s -S $EXIFTOOL_URL -o ${EXIFTOOL_FOLDER}.tgz && \
tar xzf ${EXIFTOOL_FOLDER}.tgz && \
yum -y install perl perl-ExtUtils-MakeMaker make && \
yum -y install perl && \
(cd ./${EXIFTOOL_FOLDER} && \
perl Makefile.PL && \
make && \
make test && \
make install) && \
yum -y autoremove perl-ExtUtils-MakeMaker make && rm -rf ${EXIFTOOL_FOLDER} ${EXIFTOOL_FOLDER}.tgz && \
# yum -y autoremove make && \
rm -rf ${EXIFTOOL_FOLDER} ${EXIFTOOL_FOLDER}.tgz && \
yum clean all
ADD target/generated-resources/licenses /licenses

View File

@@ -21,13 +21,14 @@ 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 perl-ExtUtils-MakeMaker make && \
yum -y install perl && \
(cd ./${EXIFTOOL_FOLDER} && \
perl Makefile.PL && \
make && \
make test && \
make install) && \
yum -y autoremove perl-ExtUtils-MakeMaker make && rm -rf ${EXIFTOOL_FOLDER} ${EXIFTOOL_FOLDER}.tgz && \
# yum -y autoremove make && \
rm -rf ${EXIFTOOL_FOLDER} ${EXIFTOOL_FOLDER}.tgz && \
yum clean all
ADD target/generated-resources/licenses /licenses