mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +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 && \
|
||||
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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user