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 <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2026-07-09 23:54:07 -07:00
committed by GitHub
parent 424d125775
commit 39a48acf6b

View File

@@ -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