Skip to content

Commit

Permalink
Less cleanup of the toolchain files at the cost of the size
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Dec 23, 2023
1 parent 848aa32 commit 90d6684
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ COPY config.cross-native64 .config
RUN PATH=/root/x-tools/x86_64-w64-mingw32/bin:$PATH ct-ng build && \
mv /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/x86_64-w64-mingw32/sysroot/usr/x86_64-w64-mingw32/bin/*.dll /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/bin/ && \
mv /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/x86_64-w64-mingw32/sysroot/lib/*.dll /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/bin/ && \
rm -rf /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/x86_64-w64-mingw32/sysroot/mingw && \
rm -rf /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/lib* && \
tar -achf x86_64-w64-mingw32.tar.zst -C /root/x-tools-cross-native/HOST-x86_64-w64-mingw32 x86_64-w64-mingw32

Expand All @@ -46,6 +45,5 @@ COPY config.cross-native32 .config
RUN PATH=/root/x-tools/i686-w64-mingw32/bin:$PATH ct-ng build && \
mv /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/i686-w64-mingw32/sysroot/usr/i686-w64-mingw32/bin/*.dll /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/bin/ && \
mv /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/i686-w64-mingw32/sysroot/lib/*.dll /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/bin/ && \
rm -rf /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/i686-w64-mingw32/sysroot/mingw && \
rm -rf /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/i686-w64-mingw32/lib/lib* && \
tar -achf i686-w64-mingw32.tar.zst -C /root/x-tools-cross-native/HOST-i686-w64-mingw32 i686-w64-mingw32

0 comments on commit 90d6684

Please sign in to comment.