Less layers in docker file

This commit is contained in:
Alexander Kuzmenkov 2020-06-25 09:26:10 +03:00
parent 63a8a8453a
commit 4a8349cad9

View File

@ -63,6 +63,7 @@ RUN git clone https://github.com/tpoechtrager/apple-libtapi.git \
&& cd apple-libtapi \
&& INSTALLPREFIX=/cctools ./build.sh \
&& ./install.sh \
&& cd .. \
&& rm -rf apple-libtapi
# Build and install tools for cross-linking to Darwin
@ -71,6 +72,7 @@ RUN git clone https://github.com/tpoechtrager/cctools-port.git \
&& ./configure --prefix=/cctools --with-libtapi=/cctools \
--target=x86_64-apple-darwin \
&& make install \
&& cd ../.. \
&& rm -rf cctools-port
# Download toolchain for Darwin