-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from godotengine/containers-overhaul-linux-sdk…
…-macos-arm64
- Loading branch information
Showing
18 changed files
with
240 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM fedora:33 | ||
FROM fedora:34 | ||
|
||
WORKDIR /root | ||
|
||
RUN dnf -y upgrade --setopt=install_weak_deps=False && \ | ||
dnf -y install --setopt=install_weak_deps=False \ | ||
bash bzip2 curl git make nano patch pkgconfig python-unversioned-command python3-pip unzip which xz && \ | ||
bash bzip2 curl file findutils git make nano patch pkgconfig python3-pip unzip which xz && \ | ||
pip install scons==4.1.0 | ||
|
||
CMD /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
ARG img_version | ||
FROM godot-mono:${img_version} | ||
|
||
ARG mono_version | ||
|
||
ENV GODOT_SDK_LINUX_X86_64=/root/x86_64-godot-linux-gnu_sdk-buildroot | ||
ENV GODOT_SDK_LINUX_X86=/root/i686-godot-linux-gnu_sdk-buildroot | ||
ENV BASE_PATH=${PATH} | ||
|
||
RUN if [ -z "${mono_version}" ]; then echo -e "\n\nargument mono-version is mandatory!\n\n"; exit 1; fi && \ | ||
dnf -y install --setopt=install_weak_deps=False \ | ||
libxcrypt-compat yasm && \ | ||
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \ | ||
tar xf x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \ | ||
rm -f x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \ | ||
cd x86_64-godot-linux-gnu_sdk-buildroot && \ | ||
./relocate-sdk.sh && \ | ||
rm -f bin/{aclocal*,auto*,libtool*,m4} && \ | ||
cd /root && \ | ||
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \ | ||
tar xf i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \ | ||
rm -f i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \ | ||
cd i686-godot-linux-gnu_sdk-buildroot && \ | ||
./relocate-sdk.sh && \ | ||
rm -f bin/{aclocal*,auto*,libtool*,m4} && \ | ||
cp -a /root/files/${mono_version} /root && \ | ||
export MONO_SOURCE_ROOT=/root/${mono_version} && \ | ||
cd /root/${mono_version}/godot-mono-builds && \ | ||
export PATH=${GODOT_SDK_LINUX_X86_64}/bin:${BASE_PATH} && \ | ||
python3 linux.py configure -j --target=x86_64 && \ | ||
python3 linux.py make -j --target=x86_64 && \ | ||
export PATH=${GODOT_SDK_LINUX_X86}/bin:${BASE_PATH} && \ | ||
python3 linux.py configure -j --target=x86 && \ | ||
python3 linux.py make -j --target=x86 && \ | ||
export PATH=${GODOT_SDK_LINUX_X86_64}/bin:${BASE_PATH} && \ | ||
python3 bcl.py make -j --product=desktop && \ | ||
python3 linux.py copy-bcl --target=x86_64 --target=x86 && \ | ||
cd /root && \ | ||
rm -rf /root/${mono_version} | ||
|
||
CMD /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.