Skip to main content

docker-syntax-buildkit

Use when optimizing Dockerfile builds with cache mounts, mounting secrets during build, or writing multi-line RUN with heredoc syntax. Prevents baking credentials into image layers, cache-busting on every build due to missing --mount=type=cache, and using outdated non-BuildKit syntax. Covers syntax directive, heredoc RUN, --mount=type=cache for apt/npm/pip/go, --mount=type=secret, --mount=type=ssh, bind mounts, and platform ARGs. Keywords: # syntax=docker/dockerfile:1, --mount=type=cache, --mount=type=secret, --mount=type=ssh, heredoc, BUILDKIT_INLINE_CACHE, TARGETPLATFORM, build secrets, SSH in build, cache npm pip, modern Dockerfile syntax.

Zur Installation springen

Quellinformationen

Repository
Impertio-Studio/Docker-Claude-Skill-Package
Letzte Quellaktivität
30. März 2026 um 18:25
Erkannte Sprache von SKILL.md
Englisch
Sterne
10
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.