-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 777 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (17 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# From repo root directory, build Docker image with command:
# docker build --tag ubuntu:insta360 [--build-arg="MEDIASDK_UBUNTU_DEB=<deb_file>"] .
# Need exiftool 12.40 or above
FROM ubuntu:24.04
ARG MEDIASDK_UBUNTU_DEB=libMediaSDK-dev_2.0-6_amd64_ubuntu18.04.deb
ENV PATH="${PATH}:/root/scripts"
WORKDIR /root
COPY ${MEDIASDK_UBUNTU_DEB} .
RUN apt update && \
apt install exiftool ffmpeg bc -y
RUN apt install "./${MEDIASDK_UBUNTU_DEB}" -y
# Workaround for MediaSDK-3.1.5-linux-amd64
RUN if [ "MediaSDK-3.1.5-linux-amd64.deb" = "${MEDIASDK_UBUNTU_DEB}" ]; then \
ln -sf /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5; \
ln -sf /opt/MediaSDK-3.1.5-linux/bin/MediaSDKTest /usr/bin/MediaSDKTest; \
fi
COPY scripts scripts