2022-03-23 22:07:11 +01:00
|
|
|
ARG img_version
|
|
|
|
FROM pandemonium-fedora:${img_version}
|
|
|
|
|
2022-10-11 16:29:00 +02:00
|
|
|
# Todo host the buildroot files somewhere
|
|
|
|
|
|
|
|
ENV GODOT_SDK_LINUX_X86_64=/root/x86_64-godot-linux-gnu_sdk-buildroot
|
2024-04-20 17:44:49 +02:00
|
|
|
ENV GODOT_SDK_LINUX_X86_32=/root/i686-godot-linux-gnu_sdk-buildroot
|
|
|
|
ENV GODOT_SDK_LINUX_ARM64=/root/aarch64-godot-linux-gnu_sdk-buildroot
|
|
|
|
ENV GODOT_SDK_LINUX_ARM32=/root/arm-godot-linux-gnueabihf_sdk-buildroot
|
|
|
|
|
2022-10-11 16:29:00 +02:00
|
|
|
ENV BASE_PATH=${PATH}
|
|
|
|
|
2024-04-20 17:44:49 +02:00
|
|
|
RUN dnf install -y wayland-devel && \
|
|
|
|
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2024-01-17/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
|
2022-10-11 16:29:00 +02:00
|
|
|
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 && \
|
|
|
|
cd /root && \
|
2024-04-20 17:44:49 +02:00
|
|
|
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2024-01-17/i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
|
2022-10-11 16:29:00 +02:00
|
|
|
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 && \
|
2024-04-20 17:44:49 +02:00
|
|
|
cd /root && \
|
|
|
|
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2024-01-17/aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
|
|
|
|
tar xf aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
|
|
|
|
rm -f aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
|
|
|
|
cd aarch64-godot-linux-gnu_sdk-buildroot && \
|
|
|
|
./relocate-sdk.sh && \
|
|
|
|
cd /root && \
|
|
|
|
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2024-01-17/arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
|
|
|
|
tar xf arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
|
|
|
|
rm -f arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
|
|
|
|
cd arm-godot-linux-gnueabihf_sdk-buildroot && \
|
|
|
|
./relocate-sdk.sh
|
|
|
|
|
2022-03-23 22:07:11 +01:00
|
|
|
|
|
|
|
CMD /bin/bash
|