mirror of
https://github.com/godotengine/build-containers.git
synced 2025-12-31 21:48:41 +03:00
- Fedora 42 - SCons 4.9.1 - MinGW 12.0.0 with GCC 14.2.1 and binutils 2.43.1 - Android NDK r28b, API 25 - Emscripten 4.0.10 - Xcode 16.4 (macOS 15.5, iOS 18.5)
27 lines
1.0 KiB
Docker
27 lines
1.0 KiB
Docker
ARG img_version
|
|
FROM godot-fedora:${img_version}
|
|
|
|
ENV OSX_SDK=15.5
|
|
|
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
|
automake autoconf bzip2-devel cmake gawk gcc gcc-c++ libdispatch libicu-devel libtool \
|
|
libxml2-devel openssl-devel uuid-devel yasm && \
|
|
git clone --progress https://github.com/tpoechtrager/osxcross && \
|
|
cd /root/osxcross && \
|
|
git checkout 310196974007fc916f9be1877731b716a4854f72 && \
|
|
ln -s /root/files/MacOSX${OSX_SDK}.sdk.tar.xz /root/osxcross/tarballs && \
|
|
export UNATTENDED=1 && \
|
|
export SDK_VERSION=${OSX_SDK} && \
|
|
# Custom build Apple Clang to ensure compatibility.
|
|
# Find the equivalent LLVM version for the SDK from:
|
|
# https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
|
|
CLANG_VERSION=19.1.4 ENABLE_CLANG_INSTALL=1 INSTALLPREFIX=/usr ./build_apple_clang.sh && \
|
|
./build.sh && \
|
|
./build_compiler_rt.sh && \
|
|
rm -rf /root/osxcross/build
|
|
|
|
ENV OSXCROSS_ROOT=/root/osxcross
|
|
ENV PATH="/root/osxcross/target/bin:${PATH}"
|
|
|
|
CMD /bin/bash
|