File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/build/src/extensions/core Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,13 @@ export function ffmpeg(options: FfmpegOptions = {}): BuildExtension {
3939 id : "ffmpeg7" ,
4040 image : {
4141 instructions : [
42- "RUN apt-get update && apt-get install -y --no-install-recommends wget xz-utils && apt-get clean && rm -rf /var/lib/apt/lists/*" ,
43- "RUN wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -O ffmpeg.tar.xz && tar xvf ffmpeg.tar.xz -C /usr/bin --strip-components=1 --no-anchored 'ffmpeg' 'ffprobe' && rm ffmpeg.tar.xz" ,
42+ // Install ffmpeg after checksum validation
43+ "RUN apt-get update && apt-get install -y --no-install-recommends wget xz-utils && apt-get clean && rm -rf /var/lib/apt/lists/* && " +
44+ "wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz.md5 -O ffmpeg.tar.xz.md5 && " +
45+ "wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz -O ffmpeg.tar.xz && " +
46+ "md5sum -c ffmpeg.tar.xz.md5 && " +
47+ "tar xvf ffmpeg.tar.xz -C /usr/bin --strip-components=1 --no-anchored 'ffmpeg' 'ffprobe' && " +
48+ "rm ffmpeg.tar.xz ffmpeg.tar.xz.md5" ,
4449 ] ,
4550 } ,
4651 deploy : {
You can’t perform that action at this time.
0 commit comments