# This base image is also known as "crosscompile". See arm64.crosscompile.Dockerfile FROM ghcr.io/itrooz/macos-crosscompile:clang17-nosdk as build ENV MACOSX_DEPLOYMENT_TARGET 12.1 # -- DOWNLOADING STUFF ## Install make RUN --mount=type=cache,target=/var/lib/apt/lists/ apt update && apt install -y make ## fix environment ### add install_name_tool for cmake command that won't have the right env set (see PostprocessBundle.cmake function postprocess_bundle()) RUN cp /osxcross/build/cctools-port/cctools/misc/install_name_tool /usr/bin/install_name_tool ### a cmake thing wants 'otool' and not '' apparently RUN cp /osxcross/target/bin/aarch64-apple-darwin23-otool /usr/bin/otool ## Clone glfw RUN <