build: Add ffmpeg Linux dependency (#1848)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
shaohuzhang1 2024-12-16 19:37:17 +08:00 committed by GitHub
parent f2373da1b9
commit 93b2c6acdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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