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/*