# NapCat Chinese Desktop Runtime Image Build from the locally inspected upstream digest: ```powershell $baseImage = docker image inspect mlikiowa/napcat-docker:latest --format '{{index .RepoDigests 0}}' if (-not $baseImage) { throw 'NapCat upstream image digest not found; pull and inspect the image before building.' } docker build ` --build-arg NAPCAT_BASE_IMAGE=$baseImage ` -t kt-napcat-desktop-cn:desktop-cn-v2 ` -f ci/napcat-desktop-cn/Dockerfile . ``` Verify: ```bash name="kt-napcat-verify-$(date +%s)" trap 'docker rm -f "$name" >/dev/null 2>&1 || true' EXIT docker run -d --name "$name" kt-napcat-desktop-cn:desktop-cn-v2 >/dev/null sleep 3 docker exec "$name" sh /ci/napcat-desktop-cn/verify.sh ``` Record the final digest in `QQBOT_NAPCAT_IMAGE`.