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
|
|
|
|
ENV GODOT_SDK_LINUX_X86=/root/i686-godot-linux-gnu_sdk-buildroot
|
|
|
|
ENV GODOT_SDK_LINUX_ARMHF=/root/arm-godot-linux-gnueabihf_sdk-buildroot
|
|
|
|
ENV BASE_PATH=${PATH}
|
|
|
|
|
2022-03-23 22:07:11 +01:00
|
|
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
2022-10-11 16:29:00 +02:00
|
|
|
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/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 && \
|
|
|
|
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}
|
2022-03-23 22:07:11 +01:00
|
|
|
|
|
|
|
CMD /bin/bash
|