mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-02-02 07:46:37 +01:00
Merge pull request #236 from jcfr/windows-install-mxe
common.windows: Optimize image size removing MXE sources
This commit is contained in:
commit
56e3ad71aa
@ -27,7 +27,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
#
|
||||
RUN \
|
||||
apt-get update && \
|
||||
apt-get -y install \
|
||||
apt-get install --no-install-recommends --yes \
|
||||
autoconf \
|
||||
automake \
|
||||
autopoint \
|
||||
@ -91,6 +91,11 @@ RUN \
|
||||
cd /usr/src/mxe && \
|
||||
make -j$(nproc) && \
|
||||
#
|
||||
# Cleanup: By keeping the MXE build system (Makefile, ...), derived images will be able to install
|
||||
# additional packages.
|
||||
#
|
||||
rm -rf .git log pkg && \
|
||||
#
|
||||
# Update MXE toolchain file
|
||||
#
|
||||
echo 'set(CMAKE_CROSSCOMPILING_EMULATOR "/usr/bin/wine")' >> ${CMAKE_TOOLCHAIN_FILE} && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user