2022-03-23 22:07:11 +01:00
|
|
|
ARG img_version
|
|
|
|
FROM pandemonium-fedora:${img_version}
|
|
|
|
|
|
|
|
#cmake
|
|
|
|
|
|
|
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
|
|
|
automake autoconf bzip2-devel clang libicu-devel libtool libxml2-devel llvm-devel openssl-devel yasm cmake && \
|
|
|
|
git clone --progress https://github.com/tpoechtrager/osxcross.git && \
|
|
|
|
cd /root/osxcross && \
|
2022-08-01 22:17:12 +02:00
|
|
|
git checkout 17bb5e2d0a46533c1dd525cf4e9a80d88bd9f00e && \
|
2022-03-23 22:07:11 +01:00
|
|
|
ln -s /root/files/MacOSX11.3.sdk.tar.xz /root/osxcross/tarballs && \
|
|
|
|
UNATTENDED=1 ./build.sh && \
|
|
|
|
./build_compiler_rt.sh
|
|
|
|
|
|
|
|
ENV OSXCROSS_ROOT=/root/osxcross
|
|
|
|
ENV PATH="/root/osxcross/target/bin:${PATH}"
|
|
|
|
|
|
|
|
CMD /bin/bash
|