[darwin] use curl instead of wget

Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
This commit is contained in:
Steeve Morin 2014-11-05 19:14:27 +01:00
parent 67e130af08
commit dc49eb584f
No known key found for this signature in database
GPG Key ID: 6323FE5975269E7A

View File

@ -18,7 +18,7 @@ RUN apt-get update && \
RUN curl -L https://github.com/tpoechtrager/osxcross/archive/master.tar.gz | tar xvz && \ RUN curl -L https://github.com/tpoechtrager/osxcross/archive/master.tar.gz | tar xvz && \
cd /osxcross-master/ && \ cd /osxcross-master/ && \
cd tarballs/ && wget https://www.dropbox.com/s/yfbesd249w10lpc/MacOSX${MAC_SDK_VERSION}.sdk.tar.xz && cd - && \ curl -L -o tarballs/MacOSX${MAC_SDK_VERSION}.sdk.tar.xz https://www.dropbox.com/s/yfbesd249w10lpc/MacOSX${MAC_SDK_VERSION}.sdk.tar.xz && \
echo | SDK_VERSION=${MAC_SDK_VERSION} OSX_VERSION_MIN=10.6 ./build.sh && \ echo | SDK_VERSION=${MAC_SDK_VERSION} OSX_VERSION_MIN=10.6 ./build.sh && \
mv /osxcross-master/target ${CROSS_ROOT} && \ mv /osxcross-master/target ${CROSS_ROOT} && \
mkdir -p ${CROSS_ROOT}/lib && \ mkdir -p ${CROSS_ROOT}/lib && \