From 35d8031099211e2639205f1b1f0e0c4143653a48 Mon Sep 17 00:00:00 2001 From: crasbe Date: Mon, 3 Nov 2025 16:25:59 +0100 Subject: [PATCH 1/3] riotbuild/Dockerfile: remove unused MIPS toolchain --- riotbuild/Dockerfile | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/riotbuild/Dockerfile b/riotbuild/Dockerfile index 867adca7..7f5f96c2 100644 --- a/riotbuild/Dockerfile +++ b/riotbuild/Dockerfile @@ -148,23 +148,6 @@ RUN echo 'Installing arm-none-eabi toolchain from arm.com' >&2 && \ ENV PATH ${PATH}:/opt/${ARM_FOLDER}/bin -# Install MIPS binary toolchain -# For updates: https://www.mips.com/develop/tools/codescape-mips-sdk/ (select "Codescape GNU Toolchain") -ARG MIPS_VERSION=2020.06-01 -RUN echo 'Installing mips-mti-elf toolchain from mips.com' >&2 && \ - mkdir -p /opt && \ - curl -L "https://codescape.mips.com/components/toolchain/${MIPS_VERSION}/Codescape.GNU.Tools.Package.${MIPS_VERSION}.for.MIPS.MTI.Bare.Metal.CentOS-6.x86_64.tar.gz" -o - \ - | tar -C /opt -zx && \ - echo 'Removing documentation and translations' >&2 && \ - rm -rf /opt/mips-mti-elf/*/share/{doc,info,man,locale} && \ - echo 'Deduplicating binaries' && \ - cd /opt/mips-mti-elf/*/mips-mti-elf/bin && \ - for f in *; do test -f "../../bin/mips-mti-elf-$f" && ln -f "../../bin/mips-mti-elf-$f" "$f"; done && cd - - -ENV MIPS_ELF_ROOT /opt/mips-mti-elf/${MIPS_VERSION} - -ENV PATH ${PATH}:${MIPS_ELF_ROOT}/bin - # Install RISC-V binary toolchain ARG RISCV_VERSION=13.2.0-2 RUN mkdir -p /opt && \ From 9a6aa64dd8b492d83028bf2ccae9293c9401fff6 Mon Sep 17 00:00:00 2001 From: crasbe Date: Tue, 4 Nov 2025 11:28:01 +0100 Subject: [PATCH 2/3] riotbuild/Dockerfile: remove old MSP430 toolchain --- riotbuild/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/riotbuild/Dockerfile b/riotbuild/Dockerfile index 7f5f96c2..ab7e3a6b 100644 --- a/riotbuild/Dockerfile +++ b/riotbuild/Dockerfile @@ -38,7 +38,6 @@ COPY files/libsocketcan2_0.0.11-1_i386.deb /pkgs/libsocketcan2_0.0.11-1_i386.deb # - update the package index files to latest available version # - native platform development and build system functionality (about 400 MB installed) # - Cortex-M development (about 550 MB installed), through the gcc-arm-embedded PPA -# - MSP430 development (about 120 MB installed) # - AVR development (about 110 MB installed) # - LLVM/Clang build environment (about 125 MB installed) # - QEMU @@ -89,10 +88,6 @@ RUN \ unzip \ vim-common \ xsltproc \ - && echo 'Installing MSP430 toolchain' >&2 && \ - apt-get -y --no-install-recommends install \ - gcc-msp430 \ - msp430-libc \ && echo 'Installing AVR toolchain' >&2 && \ apt-get -y --no-install-recommends install \ gcc-avr \ @@ -345,3 +340,4 @@ ENV RIOTBUILD_BRANCH $RIOTBUILD_BRANCH RUN echo "RIOTBUILD_VERSION=$RIOTBUILD_VERSION" > /etc/riotbuild RUN echo "RIOTBUILD_COMMIT=$RIOTBUILD_COMMIT" >> /etc/riotbuild RUN echo "RIOTBUILD_BRANCH=$RIOTBUILD_BRANCH" >> /etc/riotbuild + From bb42f64d6fd027acfed6201bb6f3c0444508fece Mon Sep 17 00:00:00 2001 From: crasbe Date: Tue, 4 Nov 2025 11:46:50 +0100 Subject: [PATCH 3/3] fixup! fixup! riotbuild/Dockerfile: remove old MSP430 toolchain --- riotbuild/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/riotbuild/Dockerfile b/riotbuild/Dockerfile index ab7e3a6b..5eee52f2 100644 --- a/riotbuild/Dockerfile +++ b/riotbuild/Dockerfile @@ -46,8 +46,8 @@ COPY files/libsocketcan2_0.0.11-1_i386.deb /pkgs/libsocketcan2_0.0.11-1_i386.deb # updated base OS image. This can be forced with `--pull` flag. # This is all done in a single RUN command to reduce the number of layers and to # allow the cleanup to actually save space. -# Total size without cleaning is approximately 1.525 GB (2016-03-08) -# After adding the cleanup commands the size is approximately 1.497 GB +# Total size without cleaning is approximately 1.282 GB (2025-11-04) +# After adding the cleanup commands the size is approximately 1.0 GB ARG LLVM_VERSION=14 RUN \ dpkg --add-architecture i386 >&2 && \