package command
import "github.com/moby/buildkit/frontend/dockerfile/command"
Package command contains the set of Dockerfile commands.
Index ¶
Constants ¶
const ( Add = "add" Arg = "arg" Cmd = "cmd" Copy = "copy" Entrypoint = "entrypoint" Env = "env" Expose = "expose" From = "from" Healthcheck = "healthcheck" Label = "label" Maintainer = "maintainer" Onbuild = "onbuild" Run = "run" Shell = "shell" StopSignal = "stopsignal" User = "user" Volume = "volume" Workdir = "workdir" )
Define constants for the command strings
Variables ¶
var Commands = map[string]struct{}{ Add: {}, Arg: {}, Cmd: {}, Copy: {}, Entrypoint: {}, Env: {}, Expose: {}, From: {}, Healthcheck: {}, Label: {}, Maintainer: {}, Onbuild: {}, Run: {}, Shell: {}, StopSignal: {}, User: {}, Volume: {}, Workdir: {}, }
Commands is list of all Dockerfile commands
Source Files ¶
- Version
- v0.18.0-rc1
- Published
- Nov 21, 2024
- Platform
- js/wasm
- Last checked
- 12 hours ago –
Tools for package owners.