mirror of
https://github.com/coredns/coredns.git
synced 2026-07-10 09:40:12 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user