Update to Debian Buster for npb-ep image

This commit is contained in:
Zeqian Meng 2025-10-08 11:31:53 +02:00
parent 5001fdc23e
commit 25653e7bfc
2 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,4 @@
linux/amd64=debian:bookworm-slim
linux/arm64=arm64v8/debian:bookworm-slim
linux/ppc64le=ppc64le/debian:bookworm-slim
linux/s390x=s390x/debian:bookworm-slim
linux/amd64=debian:buster-slim
linux/arm64=arm64v8/debian:buster-slim
linux/ppc64le=ppc64le/debian:buster-slim
linux/s390x=s390x/debian:buster-slim

View file

@ -17,7 +17,13 @@ FROM $BASEIMAGE as build_node_perf_npb_ep
CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/
RUN apt-get update && apt-get install -y build-essential gfortran
RUN rm -f /etc/apt/sources.list
RUN echo "deb [trusted=yes] http://archive.debian.org/debian buster main" >> /etc/apt/sources.list
RUN echo "deb-src [trusted=yes] http://archive.debian.org/debian buster main" >> /etc/apt/sources.list
RUN echo "deb [trusted=yes] http://archive.debian.org/debian buster-updates main" >> /etc/apt/sources.list
RUN echo "deb-src [trusted=yes] http://archive.debian.org/debian buster-updates main" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y --allow-downgrades libbz2-1.0=1.0.6-9.2~deb10u1 libc6=2.28-10+deb10u1 libc6-dev g++ bzip2 dpkg-dev gfortran-8 build-essential gfortran
ADD http://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz .
RUN tar xzf NPB3.3.1.tar.gz