| # debian.sh --arch 'amd64' out/ 'bookworm' '@1753056000' |
| LABEL maintainer=devkitPro developers support@devkitpro.org |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends apt-utils && apt-get install -y --no-install-recommends sudo ca-certificates pkg-config curl wget bzip2 xz-utils make libarchive-tools doxygen gnupg && apt-get install -y --no-install-recommends git git-restore-mtime && apt-get install -y --no-install-recommends rsync && apt-get install -y --no-install-recommends zip unzip ninja-build && apt-get install -y --no-install-recommends python3 python-is-python3 python3-lz4 && apt-get install -y --no-install-recommends locales && apt-get install -y --no-install-recommends patch && apt-get install -y --no-install-recommends build-essential gettext cppcheck && echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list.d/bookworm-backports.list && apt update && apt-get install -y --no-install-recommends -t bookworm-backports cmake && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && echo -n "UTC" > /etc/timezone && apt-get -y autoremove --purge && apt-get -y clean && dpkg-reconfigure -f noninteractive tzdata && apt-get -y purge locales-all && dpkg-reconfigure -f noninteractive locales && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && echo "en_US.UTF-8 UTF-8" > /etc/default/locale && locale-gen en_US.UTF-8 && update-locale # buildkit |
| RUN /bin/sh -c ln -s /proc/mounts /etc/mtab && wget https://apt.devkitpro.org/install-devkitpro-pacman && chmod +x ./install-devkitpro-pacman && ./install-devkitpro-pacman && rm ./install-devkitpro-pacman && dkp-pacman -Syyu --noconfirm && dkp-pacman -S --needed --noconfirm dkp-toolchain-vars dkp-meson-scripts && yes | dkp-pacman -Scc # buildkit |
| ENV LANG=en_US.UTF-8 |
| ENV DEVKITPRO=/opt/devkitpro |
| ENV PATH=/opt/devkitpro/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| LABEL maintainer=devkitPro developers support@devkitpro.org |
| RUN /bin/sh -c dkp-pacman -Syyu --noconfirm && dkp-pacman -S --needed --noconfirm switch-dev && dkp-pacman -S --needed --noconfirm switch-portlibs && dkp-pacman -S --needed --noconfirm devkitARM && dkp-pacman -S --needed --noconfirm dkp-toolchain-vars hactool && yes | dkp-pacman -Scc # buildkit |
| ENV DEVKITARM=/opt/devkitpro/devkitARM |
| RUN /bin/sh -c apt update && apt install -y python3-pip # buildkit |
| RUN /bin/sh -c pip3 install --break-system-packages SarcLib==0.3 libyaz0==0.5 PyYAML==6.0.2 ipdb==0.13.13 # buildkit |
| COPY ./vendor/pymsb /tmp/pymsb # buildkit |
| RUN /bin/sh -c cd /tmp/pymsb && pip3 install --break-system-packages . # buildkit |