ADD file:d43b1d5d6f0054ace3f21097e24b9dafadf61130f853319728666c4225992d13 in / |
CMD ["bash"] |
WORKDIR /root |
/bin/sh -c echo docker_cross_compiler > /etc/hostname |
/bin/sh -c apt-get update |
/bin/sh -c apt-get install -y sudo wget |
/bin/sh -c wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb |
/bin/sh -c dpkg -i packages-microsoft-prod.deb |
/bin/sh -c rm packages-microsoft-prod.deb |
/bin/sh -c apt-get update |
/bin/sh -c apt-get install -y build-essential bzip2 cmake clang cpio curl dotnet-sdk-6.0 dotnet-sdk-8.0 gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu gcc-i686-linux-gnu git libbz2-dev libharfbuzz-dev libpng-dev libssl-dev libxml2-dev llvm lzma-dev mingw-w64 meson nuget ninja-build nodejs patch python3 uuid xz-utils zlib1g-dev |
/bin/sh -c git clone --recurse-submodules "https://github.com/tpoechtrager/osxcross.git" osxcross |
WORKDIR /root/osxcross/tarballs |
/bin/sh -c wget "https://github.com/joseluisq/macosx-sdks/releases/download/14.0/MacOSX14.0.sdk.tar.xz" -O "MacOSX14.0.sdk.tar.xz" |
WORKDIR /root/osxcross |
ENV UNATTENDED=1 TARGET_DIR=/usr/local SDK_DIR=/usr/local/osxcross-sdk |
/bin/sh -c bash -c "./build.sh" |
/bin/sh -c echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/refuel_sudo_conf |
/bin/sh -c adduser --comment "" --disabled-password refuel |
/bin/sh -c addgroup wheel |
/bin/sh -c usermod -aG wheel refuel |
USER refuel |
WORKDIR /home/refuel |
/bin/sh -c cp /etc/bash.bashrc ~/.bashrc |
COPY file:d0c997a34f75edc8556251521a1955d0a57f92029009470bb14c2b2329165859 in /home/refuel/.bashrc |
CMD ["/bin/sh" "-c" "bash"] |