mirror of https://github.com/docker/docs.git
Pin tpoechtrager/osxcross commit
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
parent
c7d6f0c30c
commit
2140650b56
|
@ -91,9 +91,11 @@ RUN cd /usr/local/lvm2 \
|
||||||
|
|
||||||
# Configure the container for OSX cross compilation
|
# Configure the container for OSX cross compilation
|
||||||
ENV OSX_SDK MacOSX10.11.sdk
|
ENV OSX_SDK MacOSX10.11.sdk
|
||||||
|
ENV OSX_CROSS_COMMIT 8aa9b71a394905e6c5f4b59e2b97b87a004658a4
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& export OSXCROSS_PATH="/osxcross" \
|
&& export OSXCROSS_PATH="/osxcross" \
|
||||||
&& git clone --depth 1 https://github.com/tpoechtrager/osxcross.git $OSXCROSS_PATH \
|
&& git clone https://github.com/tpoechtrager/osxcross.git $OSXCROSS_PATH \
|
||||||
|
&& ( cd $OSXCROSS_PATH && git checkout -q $OSX_CROSS_COMMIT) \
|
||||||
&& curl -sSL https://s3.dockerproject.org/darwin/${OSX_SDK}.tar.xz -o "${OSXCROSS_PATH}/tarballs/${OSX_SDK}.tar.xz" \
|
&& curl -sSL https://s3.dockerproject.org/darwin/${OSX_SDK}.tar.xz -o "${OSXCROSS_PATH}/tarballs/${OSX_SDK}.tar.xz" \
|
||||||
&& UNATTENDED=yes OSX_VERSION_MIN=10.6 ${OSXCROSS_PATH}/build.sh
|
&& UNATTENDED=yes OSX_VERSION_MIN=10.6 ${OSXCROSS_PATH}/build.sh
|
||||||
ENV PATH /osxcross/target/bin:$PATH
|
ENV PATH /osxcross/target/bin:$PATH
|
||||||
|
|
Loading…
Reference in New Issue