mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user