mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 14:14:35 +02:00
Always use COPY --link
This commit is contained in:
parent
5b84268562
commit
40511a0e8a
@ -49,7 +49,7 @@ export TODF="Dockerfile"
|
||||
|
||||
to_df "FROM ${REGISTRY}/${REPO}/base-${TARGET}:latest AS base"
|
||||
to_df "ENV TARGET=$TARGET VARIANT=$VARIANT REPO=$REPO ADDINS_STR=$ADDINS_STR"
|
||||
to_df "COPY util/run_stage.sh /usr/bin/run_stage"
|
||||
to_df "COPY --link util/run_stage.sh /usr/bin/run_stage"
|
||||
|
||||
for addin in "${ADDINS[@]}"; do
|
||||
(
|
||||
|
@ -10,8 +10,8 @@ ffbuild_enabled() {
|
||||
|
||||
ffbuild_dockerlayer() {
|
||||
[[ $TARGET == winarm* ]] && return 0
|
||||
to_df "COPY --from=${SELFLAYER} /opt/mingw/. /"
|
||||
to_df "COPY --from=${SELFLAYER} /opt/mingw/. /opt/mingw"
|
||||
to_df "COPY --link --from=${SELFLAYER} /opt/mingw/. /"
|
||||
to_df "COPY --link --from=${SELFLAYER} /opt/mingw/. /opt/mingw"
|
||||
}
|
||||
|
||||
ffbuild_dockerfinal() {
|
||||
|
@ -9,8 +9,8 @@ ffbuild_enabled() {
|
||||
}
|
||||
|
||||
ffbuild_dockerlayer() {
|
||||
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
|
||||
to_df "COPY --link --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
to_df "COPY --link --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
|
@ -8,8 +8,8 @@ ffbuild_enabled() {
|
||||
}
|
||||
|
||||
ffbuild_dockerlayer() {
|
||||
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
|
||||
to_df "COPY --link --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
to_df "COPY --link --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
|
||||
}
|
||||
|
||||
ffbuild_dockerdl() {
|
||||
|
@ -73,11 +73,11 @@ ffbuild_dockerstage() {
|
||||
}
|
||||
|
||||
ffbuild_dockerlayer() {
|
||||
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
to_df "COPY --link --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
}
|
||||
|
||||
ffbuild_dockerfinal() {
|
||||
to_df "COPY --from=${PREVLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
to_df "COPY --link --from=${PREVLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
||||
}
|
||||
|
||||
ffbuild_configure() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user