mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 17:07:20 +01:00
40 lines
1.8 KiB
Docker
40 lines
1.8 KiB
Docker
ARG img_version
|
|
FROM pandemonium-fedora:${img_version}
|
|
|
|
# Todo host the buildroot files somewhere
|
|
|
|
ENV GODOT_SDK_LINUX_X86_64=/root/x86_64-godot-linux-gnu_sdk-buildroot
|
|
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
|
|
|
|
ENV BASE_PATH=${PATH}
|
|
|
|
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 && \
|
|
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 && \
|
|
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2024-01-17/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 && \
|
|
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
|
|
|
|
|
|
CMD /bin/bash
|