2021-07-21 05:59:05 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for editly
|
|
|
|
#
|
|
|
|
|
2024-03-04 11:07:03 +02:00
|
|
|
FROM node:lts-bookworm
|
2021-07-21 05:59:05 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
2023-02-22 12:17:45 +02:00
|
|
|
ARG EDITLY_VERSION=0.14.2
|
2024-03-04 11:07:03 +02:00
|
|
|
ARG FFMPEG_VERSION=6.1
|
2022-08-04 09:08:35 +02:00
|
|
|
|
2021-07-21 05:59:05 +02:00
|
|
|
RUN set -xe \
|
|
|
|
&& apt update \
|
2021-07-21 10:36:51 +02:00
|
|
|
&& apt install -y curl dumb-init fonts-noto-cjk xvfb xz-utils \
|
2022-08-04 09:25:38 +02:00
|
|
|
&& curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz \
|
2022-08-04 09:08:35 +02:00
|
|
|
| tar xJC /usr/bin/ ffmpeg-${FFMPEG_VERSION}-amd64-static/ffprobe ffmpeg-${FFMPEG_VERSION}-amd64-static/ffmpeg --strip 1 \
|
2021-07-21 10:36:51 +02:00
|
|
|
&& ffmpeg -version \
|
|
|
|
&& ffprobe -version \
|
2021-07-21 05:59:05 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2021-11-19 05:37:41 +02:00
|
|
|
RUN set -xe \
|
|
|
|
&& apt update \
|
|
|
|
&& apt install -y libxext-dev libxi-dev xserver-xorg-dev \
|
|
|
|
&& ln -sf /usr/bin/python3 /usr/bin/python \
|
2022-08-04 09:25:38 +02:00
|
|
|
&& npm install --global --unsafe-perm editly@${EDITLY_VERSION} \
|
2021-11-19 05:37:41 +02:00
|
|
|
&& apt remove -y libxext-dev libxi-dev xserver-xorg-dev \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2021-07-21 05:59:05 +02:00
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/dumb-init", "--", "xvfb-run", "--server-args", "-screen 0 1280x1024x24 -ac", "editly"]
|
|
|
|
CMD ["--help"]
|