From d0d1fd8cdbd5db13cb078e7f113334db07408752 Mon Sep 17 00:00:00 2001 From: Jan Vonka Date: Mon, 29 Mar 2021 17:28:04 +0100 Subject: [PATCH] ATS-812: PoC FFmpeg skeleton - experiments - quick PoC hack to update Dockerfile to FFmpeg 4.2.4 on CentOS 8 (from 3.4.8-1 on CentOS 7) base docker image - TODO raise story/task to do this properly (as part of epic) ! --- .../alfresco-transform-ffmpeg-boot/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/alfresco-transform-ffmpeg/alfresco-transform-ffmpeg-boot/Dockerfile b/alfresco-transform-ffmpeg/alfresco-transform-ffmpeg-boot/Dockerfile index 04696171..465193ac 100644 --- a/alfresco-transform-ffmpeg/alfresco-transform-ffmpeg-boot/Dockerfile +++ b/alfresco-transform-ffmpeg/alfresco-transform-ffmpeg-boot/Dockerfile @@ -3,13 +3,12 @@ # TODO PoC for FFmpeg # The FFmpeg transformer uses FFmpeg. See license: https://github.com/FFmpeg/FFmpeg/blob/master/LICENSE.md -FROM alfresco/alfresco-base-java:11.0.7-openjdk-centos-7-9448dd21de19 -#FROM alfresco/alfresco-base-java:11.0.10-openjdk-centos-8@sha256:343c8f63cf80c7af51785b93d6972b0c00087a1c0b995098cb8285c4d9db74b5 +FROM alfresco/alfresco-base-java:11.0.10-openjdk-centos-8@sha256:343c8f63cf80c7af51785b93d6972b0c00087a1c0b995098cb8285c4d9db74b5 -ARG FFMPEG_VERSION=3.4.8-1 +ARG FFMPEG_VERSION=4.2.4 # TODO PoC for FFmpeg - update & download from Nexus -ENV FFMPEG_RPM_URL=https://download1.rpmfusion.org/free/el/updates/7/x86_64/f/ffmpeg-${FFMPEG_VERSION}.el7.x86_64.rpm +ENV FFMPEG_RPM_URL=https://download1.rpmfusion.org/free/el/updates/8/x86_64/f/ffmpeg-${FFMPEG_VERSION}.el7.x86_64.rpm #ENV FFMPEG_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/distribution/src/main/resources/licenses/3rd-party/TODO-license.txt ENV JAVA_OPTS="" @@ -29,7 +28,9 @@ RUN ln /usr/bin/${env.project_artifactId}-${env.project_version}.jar /usr/bin/${ # curl -s -S $FFMPEG_LICENSE_FILE -o FFmpeg-license.txt && \ yum install -y epel-release && \ # yum localinstall -y ffmpeg-distribution-*linux.rpm && \ - yum localinstall -y --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm && \ + yum localinstall -y --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm && \ + yum install -y dnf-plugins-core && \ + yum config-manager --set-enabled powertools && \ yum install -y ffmpeg && \ # rm -f ffmpeg-distribution-*.rpm && \ yum clean all