From 93b2c6acdd64b2f45967eb506f23a3959d2da5b5 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:37:17 +0800 Subject: [PATCH] build: Add ffmpeg Linux dependency (#1848) --- installer/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index bc3d8a4b2..be90104db 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -64,7 +64,8 @@ RUN chmod 755 /opt/maxkb/app/installer/run-maxkb.sh && \ find /opt/maxkb/app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \ chmod 755 /tmp && \ useradd --no-create-home --home /opt/maxkb/app/sandbox --shell /bin/bash sandbox && \ - chown sandbox:sandbox /opt/maxkb/app/sandbox + chown sandbox:sandbox /opt/maxkb/app/sandbox && \ + curl -L --connect-timeout 120 -m 1800 https://fit2cloud-support.oss-cn-beijing.aliyuncs.com/ffmpeg/get-ffmpeg-linux | sh EXPOSE 8080