mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-05-01 07:04:28 +02:00
Reduce MinGW layer size
This commit is contained in:
parent
8a8d78815d
commit
b2e9d1a9ed
@ -9,11 +9,12 @@ ffbuild_enabled() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ffbuild_dockerlayer() {
|
ffbuild_dockerlayer() {
|
||||||
to_df "COPY --from=${SELFLAYER} /usr/\$FFBUILD_TOOLCHAIN/. /usr/\$FFBUILD_TOOLCHAIN"
|
to_df "COPY --from=${SELFLAYER} /opt/mingw/. /"
|
||||||
|
to_df "COPY --from=${SELFLAYER} /opt/mingw/. /opt/mingw"
|
||||||
}
|
}
|
||||||
|
|
||||||
ffbuild_dockerfinal() {
|
ffbuild_dockerfinal() {
|
||||||
to_df "COPY --from=${PREVLAYER} /usr/\$FFBUILD_TOOLCHAIN/. /usr/\$FFBUILD_TOOLCHAIN"
|
to_df "COPY --from=${PREVLAYER} /opt/mingw/. /"
|
||||||
}
|
}
|
||||||
|
|
||||||
ffbuild_dockerbuild() {
|
ffbuild_dockerbuild() {
|
||||||
@ -36,7 +37,7 @@ ffbuild_dockerbuild() {
|
|||||||
|
|
||||||
./configure "${myconf[@]}"
|
./configure "${myconf[@]}"
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install DESTDIR="/opt/mingw"
|
||||||
|
|
||||||
cd ../mingw-w64-libraries/winpthreads
|
cd ../mingw-w64-libraries/winpthreads
|
||||||
|
|
||||||
@ -52,7 +53,7 @@ ffbuild_dockerbuild() {
|
|||||||
|
|
||||||
./configure "${myconf[@]}"
|
./configure "${myconf[@]}"
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install DESTDIR="/opt/mingw"
|
||||||
}
|
}
|
||||||
|
|
||||||
ffbuild_configure() {
|
ffbuild_configure() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user