Jeden Skill in Manus ausführen
mit einem Klick
mit einem Klick
Jeden Skill in Manus mit einem Klick ausführen
Loslegen$pwd:
$ git log --oneline --stat
stars:7.875
forks:700
updated:12. Mai 2026 um 03:46
SKILL.md
| name | docker-build |
| description | Build an LMDeploy Docker image and push it to the inner registry. |
| disable-model-invocation | true |
Build an LMDeploy Docker image and push it to the inner registry.
Before starting, verify all three environment variables are set:
echo $LMDEPLOY_REGISTRY # inner registry server address
echo $REGISTRY_USER # registry login username
test -n "$REGISTRY_PASSWORD" && echo "<set>" || echo "<missing>" # registry login password
If any are missing, stop and tell the user to set them before proceeding.
BRANCH=$(git branch --show-current | sed 's/[^a-zA-Z0-9._-]/-/g')
SHA=$(git rev-parse --short=7 HEAD)
TAG="${BRANCH}-${SHA}"
IMAGE="${LMDEPLOY_REGISTRY}/ailab-puyu-puyu_gpu/lmdeploy-dev:${TAG}"
Print the computed image name so the user can confirm.
Ask the user which build mode:
docker/Dockerfile_patch, fast overlay on existing imagedocker/Dockerfile, full multi-stage build from scratchdocker build -f docker/Dockerfile_patch \
--build-arg BASE_IMAGE=openmmlab/lmdeploy:v0.12.3.post2-cu12.8 \
--build-arg BACKEND=pytorch \
--build-arg http_proxy=${http_proxy:-} \
--build-arg https_proxy=${https_proxy:-} \
--build-arg no_proxy=${no_proxy:-} \
-t "${IMAGE}" \
.
User can override:
BASE_IMAGE — default openmmlab/lmdeploy:v0.12.3.post2-cu12.8BACKEND — default pytorch; set to turbomind to include TurboMind C++ extensiondocker build -f docker/Dockerfile \
--build-arg CUDA_VERSION=cu12.8 \
--build-arg http_proxy=${http_proxy:-} \
--build-arg https_proxy=${https_proxy:-} \
--build-arg no_proxy=${no_proxy:-} \
-t "${IMAGE}" \
.
User can override CUDA_VERSION — default cu12.8.
docker images "${IMAGE}"
Skip this step if the user only wants a local build.
echo "${REGISTRY_PASSWORD}" | docker login "${LMDEPLOY_REGISTRY}" -u "${REGISTRY_USER}" --password-stdin
docker push "${IMAGE}"
Confirm success via exit code.