From 39a48acf6b0f7360a09aceea4624a56b2150d92c Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Thu, 9 Jul 2026 23:54:07 -0700 Subject: [PATCH] Change base image for mips64le (#8270) Since mips64le does not have a distroless image anymore, have to change the base image. This is part of 8228. However, since it only involved container image and not rebuild binary, shoud be ok with existing one. Signed-off-by: Yong Tang --- Makefile.docker | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.docker b/Makefile.docker index 4e2ef693b..c5ffd1e76 100644 --- a/Makefile.docker +++ b/Makefile.docker @@ -90,8 +90,11 @@ else DOCKER_ARGS="--build-arg=DEBIAN_IMAGE=debian:unstable-slim --build-arg=BASE=ghcr.io/go-riscv/distroless/static-unstable:nonroot"; \ fi; \ if [ "$${arch}" = "loong64" ]; then \ - DOCKER_ARGS="--build-arg=DEBIAN_IMAGE=ghcr.io/loong64/debian:trixie-slim --build-arg=BASE=ghcr.io/loong64/debian:trixie-slim"; \ - fi; \ + DOCKER_ARGS="--build-arg=DEBIAN_IMAGE=ghcr.io/loong64/debian:trixie-slim --build-arg=BASE=ghcr.io/loong64/debian:trixie-slim"; \ + fi; \ + if [ "$${arch}" = "mips64le" ]; then \ + DOCKER_ARGS="--build-arg=DEBIAN_IMAGE=debian:unstable-slim --build-arg=BASE=mips64le/debian:unstable-slim"; \ + fi; \ DOCKER_BUILDKIT=1 docker build --platform=$${arch} -t $(DOCKER_IMAGE_NAME):$${arch}-$(VERSION) $${DOCKER_ARGS} build/docker/$${arch} ;\ done endif