Update devkitppc image

This commit is contained in:
Maschell 2022-02-13 14:18:39 +01:00
parent 19cc6aa58b
commit dca981d63b
2 changed files with 40 additions and 3 deletions

View File

@ -1,4 +1,13 @@
FROM devkitpro/devkitppc@sha256:b4c7622442bef192fa13ef34ec90741820cef2fb0c6d6b317a9bd55da06cfa60
FROM wiiu-env/toolchain-base:20220211
RUN ln -sf /proc/mounts /etc/mtab
RUN dkp-pacman -Syyu --noconfirm && dkp-pacman -Scc --noconfirm
RUN git clone --depth 1 --single-branch -b master https://github.com/devkitPro/wut && cd wut && git reset --hard 888bab16b5e74a09d0c4d219607f65cc44e7b4ec && make install && cd .. && rm -rf wut
RUN dkp-pacman -Syyu --noconfirm wiiu-dev && \
dkp-pacman -S --needed --noconfirm ppc-portlibs wiiu-portlibs && \
dkp-pacman -S --needed --noconfirm devkitARM && \
yes | dkp-pacman -Scc
ENV DEVKITPPC=${DEVKITPRO}/devkitPPC
ENV DEVKITARM=/opt/devkitpro/devkitARM
RUN git clone --depth 1 --single-branch -b master https://github.com/devkitPro/wut && cd wut && git reset --hard fefde021b90532b972516fa252beca045f77fe3f && make install && cd .. && rm -rf wut

28
toolchain-base/Dockerfile Normal file
View File

@ -0,0 +1,28 @@
FROM debian:buster-slim
MAINTAINER Maschell <maschell@gmx.de>
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
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 bsdtar doxygen gnupg && \
apt-get install -y --no-install-recommends git git-restore-mtime && \
apt-get install -y --no-install-recommends gdebi-core && \
apt-get install -y --no-install-recommends cmake zip unzip && \
apt-get install -y --no-install-recommends locales && \
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/devkitPro/pacman/releases/latest/download/devkitpro-pacman.amd64.deb && \
gdebi -n devkitpro-pacman.amd64.deb && \
rm devkitpro-pacman.amd64.deb && \
dkp-pacman -Scc --noconfirm
ENV LANG en_US.UTF-8
ENV DEVKITPRO=/opt/devkitpro
ENV PATH=${DEVKITPRO}/tools/bin:$PATH