2019-12-02 13:30:41 +01:00
|
|
|
ARG img_version
|
|
|
|
FROM godot-fedora:${img_version}
|
2019-01-07 21:51:22 +01:00
|
|
|
|
|
|
|
ARG mono_version
|
|
|
|
|
Update to Fedora 39, newer toolchains, add Linux arm64
Syncs with the config of the current `main` branch (as used for 4.2+)
as far as possible (backports the last couple of years of PRs, minus
the removal of some platforms and of the Mono builds).
Notably backports #128 and #131, giving us these toolchains:
- Base image: Fedora 39
- Mono version: 6.12.0.198
- SCons: 4.5.2
- Linux: GCC 13.2.0 built against glibc 2.28, binutils 2.40, from our own [Linux SDK](https://github.com/godotengine/buildroot)
- Windows: MinGW 11.0.0, GCC 13.2.1, binutils 2.40
- HTML5: Emscripten 3.1.39 (standard builds), Emscripten 1.39.9 (Mono builds)
- Android: Android NDK 23.2.8568313, build-tools 33.0.2, platform android-33, CMake 3.22.1, JDK 11
- macOS: Xcode 15.0 with Apple Clang (LLVM 16.0.0), MacOSX SDK 14.0
- iOS: Xcode 15.0 with Apple Clang (LLVM 16.0.0), iPhoneOS SDK 17.0
- UWP: Unchanged, current Dockerfile still unsupported
2024-01-10 18:20:03 +01:00
|
|
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
2021-07-12 12:38:02 +02:00
|
|
|
autoconf automake cmake gcc gcc-c++ gettext libtool perl python-unversioned-command && \
|
2020-03-19 18:13:06 +01:00
|
|
|
cp -a /root/files/${mono_version} /root && \
|
|
|
|
cd /root/${mono_version} && \
|
2019-11-15 10:49:02 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh && \
|
2020-10-13 17:06:37 +02:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib/mono --disable-boehm --host=x86_64-linux-gnu && \
|
2019-11-15 10:49:02 +01:00
|
|
|
make -j && \
|
|
|
|
make install && \
|
2019-12-03 12:47:51 +01:00
|
|
|
cd /root && \
|
2020-03-19 18:13:06 +01:00
|
|
|
rm -rf /root/${mono_version} && \
|
2019-11-15 10:49:02 +01:00
|
|
|
cert-sync /etc/pki/tls/certs/ca-bundle.crt && \
|
2019-11-21 09:44:11 +01:00
|
|
|
rpm -ivh --nodeps \
|
2021-07-12 14:40:28 +02:00
|
|
|
https://download.mono-project.com/repo/centos8-preview/m/msbuild/msbuild-16.10.1+xamarinxplat.2021.05.26.14.00-0.xamarin.7.epel8.noarch.rpm \
|
|
|
|
https://download.mono-project.com/repo/centos8-preview/m/msbuild/msbuild-sdkresolver-16.10.1+xamarinxplat.2021.05.26.14.00-0.xamarin.7.epel8.noarch.rpm \
|
|
|
|
https://download.mono-project.com/repo/centos8-preview/m/msbuild-libhostfxr/msbuild-libhostfxr-3.0.0.2019.04.16.02.13-0.xamarin.4.epel8.x86_64.rpm \
|
|
|
|
https://download.mono-project.com/repo/centos8-preview/n/nuget/nuget-5.6.0.6489.bin-0.xamarin.1.epel8.noarch.rpm
|
2019-11-15 11:22:07 +01:00
|
|
|
|
|
|
|
CMD /bin/bash
|