mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
common.windows: Better optimization to support package install in derived images
This commit is contained in:
parent
eabac20a8a
commit
73e556f06b
@ -91,9 +91,10 @@ RUN \
|
|||||||
cd /usr/src/mxe && \
|
cd /usr/src/mxe && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
#
|
#
|
||||||
# Cleanup: Remove all expect "usr" directory
|
# Cleanup: By keeping the MXE build system (Makefile, ...), derived images will be able to install
|
||||||
|
# additional packages.
|
||||||
#
|
#
|
||||||
find . -maxdepth 1 -type d \( -path ./usr -o -path ".$" \) -prune -o -print -exec rm -rf {} \; && \
|
rm -rf .git log pkg && \
|
||||||
#
|
#
|
||||||
# Update MXE toolchain file
|
# Update MXE toolchain file
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user