mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-06-12 05:17:39 +02:00
Always use COPY --link
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user