fix(hwlab): avoid prepare-source yaml runtime dependency (#809)

Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
Lyon
2026-06-24 10:45:06 +08:00
committed by GitHub
parent cac291d7af
commit 467abd16d4
2 changed files with 5 additions and 15 deletions
-2
View File
@@ -152,8 +152,6 @@ targets:
- COPY --from=python-runtime /usr/local /usr/local
- COPY --from=docker-cli-runtime /usr/local/bin/docker /usr/local/bin/docker
- RUN ln -sf /usr/local/bin/bun /usr/local/bin/bunx
- ENV NODE_PATH=/usr/local/lib/node_modules
- RUN npm install -g --omit=dev --ignore-scripts --no-audit --no-fund yaml@2.8.3 && NODE_PATH=/usr/local/lib/node_modules node -e "require.resolve('yaml')"
- RUN node --version && npm --version && bun --version && git --version && python3 --version && docker --version && ssh -V
buildArgs:
NODE_IMAGE: docker.io/library/node:22-bookworm-slim