From 33c2a9be5323dc4bce1dd90f0372a3d6e0a5eeb4 Mon Sep 17 00:00:00 2001 From: Ning Shang Date: Thu, 24 Apr 2025 09:35:53 -0700 Subject: [PATCH] Simplify Dockerfile Remove dependency on `libjasper-dev`. The libMediaSDK version 2.0.6 no longer has it as a dependency. --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a54b0d..cdf580c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,7 @@ ARG MEDIASDK_UBUNTU_DEB=libMediaSDK-dev_2.0-6_amd64_ubuntu18.04.deb ENV PATH="${PATH}:/root/scripts" RUN apt update && apt install software-properties-common -y && \ - # For libjasper-dev - add-apt-repository 'deb http://security.ubuntu.com/ubuntu xenial-security main' && \ - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 && \ - apt update && \ - apt install curl git build-essential libjpeg-dev libtiff-dev libjasper-dev ffmpeg exiftool bc -y + apt install curl git build-essential libjpeg-dev libtiff-dev ffmpeg exiftool bc -y WORKDIR /root COPY ${MEDIASDK_UBUNTU_DEB} . RUN dpkg -i ${MEDIASDK_UBUNTU_DEB}