mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update editly
This commit is contained in:
parent
a8c08bb14f
commit
88378fc6a3
@ -5,13 +5,13 @@
|
|||||||
FROM node:lts-bullseye
|
FROM node:lts-bullseye
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
ARG EDITLY_VERSION=0.12.0
|
||||||
ARG FFMPEG_VERSION=5.0.1
|
ARG FFMPEG_VERSION=5.0.1
|
||||||
ARG FFMPEG_URL=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
|
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
&& apt install -y curl dumb-init fonts-noto-cjk xvfb xz-utils \
|
&& apt install -y curl dumb-init fonts-noto-cjk xvfb xz-utils \
|
||||||
&& curl -sSL ${FFMPEG_URL} \
|
&& curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz \
|
||||||
| tar xJC /usr/bin/ ffmpeg-${FFMPEG_VERSION}-amd64-static/ffprobe ffmpeg-${FFMPEG_VERSION}-amd64-static/ffmpeg --strip 1 \
|
| tar xJC /usr/bin/ ffmpeg-${FFMPEG_VERSION}-amd64-static/ffprobe ffmpeg-${FFMPEG_VERSION}-amd64-static/ffmpeg --strip 1 \
|
||||||
&& ffmpeg -version \
|
&& ffmpeg -version \
|
||||||
&& ffprobe -version \
|
&& ffprobe -version \
|
||||||
@ -21,7 +21,7 @@ RUN set -xe \
|
|||||||
&& apt update \
|
&& apt update \
|
||||||
&& apt install -y libxext-dev libxi-dev xserver-xorg-dev \
|
&& apt install -y libxext-dev libxi-dev xserver-xorg-dev \
|
||||||
&& ln -sf /usr/bin/python3 /usr/bin/python \
|
&& ln -sf /usr/bin/python3 /usr/bin/python \
|
||||||
&& npm install --global --unsafe-perm editly \
|
&& npm install --global --unsafe-perm editly@${EDITLY_VERSION} \
|
||||||
&& apt remove -y libxext-dev libxi-dev xserver-xorg-dev \
|
&& apt remove -y libxext-dev libxi-dev xserver-xorg-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user