From 88378fc6a36faec5e7eb530fd3aa0fca57a15f6d Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 4 Aug 2022 15:25:38 +0800 Subject: [PATCH] update editly --- editly/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editly/Dockerfile b/editly/Dockerfile index f7a4dbc..5b6185e 100644 --- a/editly/Dockerfile +++ b/editly/Dockerfile @@ -5,13 +5,13 @@ FROM node:lts-bullseye MAINTAINER EasyPi Software Foundation +ARG EDITLY_VERSION=0.12.0 ARG FFMPEG_VERSION=5.0.1 -ARG FFMPEG_URL=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz RUN set -xe \ && apt update \ && 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 \ && ffmpeg -version \ && ffprobe -version \ @@ -21,7 +21,7 @@ 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 \ + && npm install --global --unsafe-perm editly@${EDITLY_VERSION} \ && apt remove -y libxext-dev libxi-dev xserver-xorg-dev \ && rm -rf /var/lib/apt/lists/*