mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-22 14:15:44 +01:00
Update darwin-x64 to Mac OS X 10.10 (Yosemite)
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
This commit is contained in:
parent
5d624708cc
commit
67e130af08
@ -1,22 +1,25 @@
|
|||||||
FROM steeve/cross-compiler:base
|
FROM steeve/cross-compiler:base
|
||||||
MAINTAINER Steeve Morin "steeve.morin@gmail.com"
|
MAINTAINER Steeve Morin "steeve.morin@gmail.com"
|
||||||
|
|
||||||
ENV CROSS_TRIPLE x86_64-apple-darwin13
|
ENV CROSS_TRIPLE x86_64-apple-darwin14
|
||||||
ENV CROSS_ROOT /usr/${CROSS_TRIPLE}
|
ENV CROSS_ROOT /usr/${CROSS_TRIPLE}
|
||||||
ENV PATH ${PATH}:${CROSS_ROOT}/bin
|
ENV PATH ${PATH}:${CROSS_ROOT}/bin
|
||||||
ENV LD_LIBRARY_PATH /usr/lib/llvm-3.5/lib:${CROSS_ROOT}/lib
|
ENV LD_LIBRARY_PATH /usr/lib/llvm-3.4/lib:${CROSS_ROOT}/lib
|
||||||
ENV MAC_SDK_VERSION 10.9
|
ENV MAC_SDK_VERSION 10.10
|
||||||
|
|
||||||
RUN curl -L https://github.com/tpoechtrager/osxcross/archive/master.tar.gz | tar xvz
|
RUN echo "deb http://llvm.org/apt/wheezy/ llvm-toolchain-wheezy-3.4-binaries main" >> /etc/apt/sources.list && \
|
||||||
COPY MacOSX${MAC_SDK_VERSION}.sdk.tar.bz2 /osxcross-master/tarballs/
|
curl http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - && \
|
||||||
|
apt-get update
|
||||||
|
|
||||||
# Build the toolchain
|
RUN apt-get update && \
|
||||||
WORKDIR /osxcross-master
|
apt-get install -y --force-yes clang-3.4 llvm-3.4-dev automake autogen \
|
||||||
|
libtool libxml2-dev uuid-dev libssl-dev bash \
|
||||||
|
patch make tar xz-utils bzip2 gzip sed cpio
|
||||||
|
|
||||||
RUN ./tools/get_dependencies.sh && \
|
RUN curl -L https://github.com/tpoechtrager/osxcross/archive/master.tar.gz | tar xvz && \
|
||||||
|
cd /osxcross-master/ && \
|
||||||
|
cd tarballs/ && wget https://www.dropbox.com/s/yfbesd249w10lpc/MacOSX${MAC_SDK_VERSION}.sdk.tar.xz && cd - && \
|
||||||
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 && \
|
||||||
rm -rf /osxcross-master
|
rm -rf /osxcross-master
|
||||||
|
|
||||||
WORKDIR /
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user