1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-26 00:38:37 +00:00
dockerfiles/editly/Dockerfile

29 lines
877 B
Docker
Raw Normal View History

2021-07-21 03:59:05 +00:00
#
# Dockerfile for editly
#
2021-11-19 03:37:41 +00:00
FROM node:lts-bullseye
2021-07-21 03:59:05 +00:00
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
2021-07-21 08:36:51 +00:00
&& apt install -y curl dumb-init fonts-noto-cjk xvfb xz-utils \
&& curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz \
2021-11-19 03:37:41 +00:00
| tar xJC /usr/bin/ ffmpeg-4.4.1-amd64-static/ffprobe ffmpeg-4.4.1-amd64-static/ffmpeg --strip 1 \
2021-07-21 08:36:51 +00:00
&& ffmpeg -version \
&& ffprobe -version \
2021-07-21 03:59:05 +00:00
&& rm -rf /var/lib/apt/lists/*
2021-11-19 03:37:41 +00:00
RUN set -xe \
&& apt update \
&& apt install -y libxext-dev libxi-dev xserver-xorg-dev \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& npm install --global --unsafe-perm editly \
&& apt remove -y libxext-dev libxi-dev xserver-xorg-dev \
&& rm -rf /var/lib/apt/lists/*
2021-07-21 03:59:05 +00:00
WORKDIR /data
ENTRYPOINT ["/usr/bin/dumb-init", "--", "xvfb-run", "--server-args", "-screen 0 1280x1024x24 -ac", "editly"]
CMD ["--help"]