From 1ae431d3653116848e428582b215b7da3c65e6fd Mon Sep 17 00:00:00 2001 From: Tudor Golubenco Date: Thu, 27 Apr 2017 00:56:38 +0200 Subject: [PATCH] Fix link to the MacOSX SDK tarball (#4120) (#4121) The original download was temporarily down and then it came back up with a different sha1. Switching to what seems to be a link closer to the source. This will require backporting in all branches that need to be built. (cherry picked from commit 7d15bf3599af63b87878ffe4070c5c30c519c498) --- dev-tools/packer/docker/xgo-image/base/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-tools/packer/docker/xgo-image/base/Dockerfile b/dev-tools/packer/docker/xgo-image/base/Dockerfile index d827126add3..ceadbb30027 100644 --- a/dev-tools/packer/docker/xgo-image/base/Dockerfile +++ b/dev-tools/packer/docker/xgo-image/base/Dockerfile @@ -29,14 +29,13 @@ RUN \ binutils-multiarch rsync \ --no-install-recommends -# Configure the container for OSX cross compilation # Configure the container for OSX cross compilation ENV OSX_SDK MacOSX10.11.sdk ENV OSX_NDK_X86 /usr/local/osx-ndk-x86 RUN \ - OSX_SDK_PATH=https://s3.dockerproject.org/darwin/v2/$OSX_SDK.tar.xz && \ - $FETCH $OSX_SDK_PATH dd228a335194e3392f1904ce49aff1b1da26ca62 && \ + OSX_SDK_PATH=https://github.com/phracker/MacOSX-SDKs/releases/download/MacOSX10.11.sdk/MacOSX10.11.sdk.tar.xz && \ + $FETCH $OSX_SDK_PATH f3430e3d923644e66c0c13f7a48754e7b6aa2e3f && \ \ git clone https://github.com/tpoechtrager/osxcross.git && \ mv `basename $OSX_SDK_PATH` /osxcross/tarballs/ && \