mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 22:24:28 +02:00
Add function for addins to generate Dockerfile header
This commit is contained in:
parent
41079cb7bf
commit
782f731350
@ -29,6 +29,13 @@ to_df() {
|
||||
to_df "FROM ${REGISTRY}/${REPO}/base-${TARGET}:latest AS base"
|
||||
to_df "ENV TARGET=$TARGET VARIANT=$VARIANT REPO=$REPO ADDINS_STR=$ADDINS_STR"
|
||||
|
||||
for addin in "${ADDINS[@]}"; do
|
||||
(
|
||||
source addins/"${addin}.sh"
|
||||
type ffbuild_dockeraddin &>/dev/null && ffbuild_dockeraddin
|
||||
)
|
||||
done
|
||||
|
||||
PREVLAYER="base"
|
||||
for ID in $(ls -1d scripts.d/??-* | sed -s 's|^.*/\(..\).*|\1|' | sort -u); do
|
||||
LAYER="layer-$ID"
|
||||
|
Loading…
x
Reference in New Issue
Block a user