mirror of
https://github.com/godotengine/build-containers.git
synced 2026-01-04 18:10:06 +03:00
The previous `['/bin/bash']` was not working, running the image with `podman run -it <name>` would evaluate to: ``` > sh -c ['/bin/bash'] sh: [/bin/bash]: No such file or directory ```
24 lines
1.2 KiB
Docker
24 lines
1.2 KiB
Docker
FROM godot-fedora:latest
|
|
|
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
|
automake autoconf clang gcc gcc-c++ gcc-objc gcc-objc++ cmake libicu-devel libtool libxml2-devel llvm-devel openssl-devel perl python yasm && \
|
|
dnf clean all && \
|
|
git clone https://github.com/tpoechtrager/cctools-port.git && \
|
|
cd /root/cctools-port && \
|
|
sed -i 's#./autogen.sh#libtoolize -c -i --force\n./autogen.sh#' usage_examples/ios_toolchain/build.sh && \
|
|
usage_examples/ios_toolchain/build.sh /root/files/iPhoneOS12.4.sdk.tar.xz arm64 && \
|
|
mkdir -p /root/ioscross/arm64 && \
|
|
mv usage_examples/ios_toolchain/target/* /root/ioscross/arm64 && \
|
|
mkdir /root/ioscross/arm64/usr && \
|
|
ln -s /root/ioscross/arm64/bin /root/ioscross/arm64/usr/bin && \
|
|
sed -i 's#^TRIPLE=.*#TRIPLE="x86_64-apple-darwin11"#' usage_examples/ios_toolchain/build.sh && \
|
|
usage_examples/ios_toolchain/build.sh /root/files/iPhoneSimulator12.4.sdk.tar.xz x86_64 && \
|
|
mkdir -p /root/ioscross/x86_64 && \
|
|
mv usage_examples/ios_toolchain/target/* /root/ioscross/x86_64 && \
|
|
mkdir /root/ioscross/x86_64/usr && \
|
|
ln -s /root/ioscross/x86_64/bin /root/ioscross/x86_64/usr/bin
|
|
|
|
ENV OSXCROSS_IOS=not_nothing
|
|
|
|
CMD /bin/bash
|