Skip to content

Commit

Permalink
Fix link to the MacOSX SDK tarball (#4120) (#4121)
Browse files Browse the repository at this point in the history
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 7d15bf3)
  • Loading branch information
tsg authored and andrewkroh committed Apr 26, 2017
1 parent 953cdc3 commit 1ae431d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dev-tools/packer/docker/xgo-image/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ && \
Expand Down

0 comments on commit 1ae431d

Please sign in to comment.