Skip to content

Commit 03cd848

Browse files
authored
Simplify Dockerfile (#14)
Remove dependency on `libjasper-dev`. The libMediaSDK version 2.0.6 no longer has it as a dependency.
1 parent 0cc9581 commit 03cd848

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ ARG MEDIASDK_UBUNTU_DEB=libMediaSDK-dev_2.0-6_amd64_ubuntu18.04.deb
55
ENV PATH="${PATH}:/root/scripts"
66

77
RUN apt update && apt install software-properties-common -y && \
8-
# For libjasper-dev
9-
add-apt-repository 'deb http://security.ubuntu.com/ubuntu xenial-security main' && \
10-
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 && \
11-
apt update && \
12-
apt install curl git build-essential libjpeg-dev libtiff-dev libjasper-dev ffmpeg exiftool bc -y
8+
apt install curl git build-essential libjpeg-dev libtiff-dev ffmpeg exiftool bc -y
139
WORKDIR /root
1410
COPY ${MEDIASDK_UBUNTU_DEB} .
1511
RUN dpkg -i ${MEDIASDK_UBUNTU_DEB}

0 commit comments

Comments
 (0)