Open wader opened 2 years ago
did you read this -> https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/
and of so, is it relevant? not much time npw but i figured id input
this one too -> https://hub.docker.com/r/linuxserver/ffmpeg
@mathieu-aubin hey, replied here https://github.com/wader/static-ffmpeg/issues/217#issuecomment-1172865260
Make it possible to enable/disable features when building. Alos thinking about adding some kind of optional patches support. Ex: put files in a
patches
directory and then will be applied in sorted order. Maybepatches/$FEATURE/001-fix.patch
?I think an ideal usage would be something like this:
Issues to think about:
RUN
running a big shell script can not use cache)Possible implementation combining simple Dockerfile, cache friendly and no big shell script:
A simple way to implement enable/enabled is to just use files in a directory, so
enable
would for+?name
dotouch /featurs/$1
, for-name
dorm /featurs/$1
and for-all
dorm /features/*
.add-version
could just append to a JSON file.ffmpeg-configure
just append to a file anddownload
wrapper around wget and checksum check.