2020-08-05 00:54:26 +02:00
|
|
|
ARG img_version
|
2020-08-08 23:40:58 +02:00
|
|
|
FROM godot-fedora:${img_version}
|
2020-08-05 00:54:26 +02:00
|
|
|
|
2022-01-28 23:40:23 +01:00
|
|
|
#cmake
|
|
|
|
|
2020-08-05 00:54:26 +02:00
|
|
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
2022-01-28 23:40:23 +01:00
|
|
|
automake autoconf bzip2-devel clang libicu-devel libtool libxml2-devel llvm-devel openssl-devel yasm cmake && \
|
2020-08-05 00:54:26 +02:00
|
|
|
git clone --progress https://github.com/tpoechtrager/osxcross.git && \
|
|
|
|
cd /root/osxcross && \
|
2022-01-28 23:40:23 +01:00
|
|
|
git checkout 0f87f567dfaf98460244471ad6c0f4311d62079c && \
|
|
|
|
ln -s /root/files/MacOSX11.3.sdk.tar.xz /root/osxcross/tarballs && \
|
2021-08-08 18:31:09 +02:00
|
|
|
UNATTENDED=1 ./build.sh && \
|
|
|
|
./build_compiler_rt.sh
|
2020-08-05 00:54:26 +02:00
|
|
|
|
|
|
|
ENV OSXCROSS_ROOT=/root/osxcross
|
|
|
|
ENV PATH="/root/osxcross/target/bin:${PATH}"
|
|
|
|
|
|
|
|
CMD /bin/bash
|