mirror of https://github.com/vimagick/dockerfiles
update editly
This commit is contained in:
parent
f8d383c1de
commit
63543ea5af
|
@ -2,19 +2,25 @@
|
|||
# Dockerfile for editly
|
||||
#
|
||||
|
||||
FROM node:lts-buster
|
||||
FROM node:lts-bullseye
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apt update \
|
||||
&& 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 \
|
||||
| tar xJC /usr/bin/ ffmpeg-4.4-amd64-static/ffprobe ffmpeg-4.4-amd64-static/ffmpeg --strip 1 \
|
||||
| tar xJC /usr/bin/ ffmpeg-4.4.1-amd64-static/ffprobe ffmpeg-4.4.1-amd64-static/ffmpeg --strip 1 \
|
||||
&& ffmpeg -version \
|
||||
&& ffprobe -version \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN npm install --global --unsafe-perm editly
|
||||
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/*
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
|
|
Loading…
Reference in New Issue