mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	 adad93342c
			
		
	
	adad93342c
	
	
	
		
			
			Fixes the testing issues we are hitting. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
		
			
				
	
	
		
			47 lines
		
	
	
		
			969 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			969 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Package command contains the set of Dockerfile commands.
 | |
| package command
 | |
| 
 | |
| // Define constants for the command strings
 | |
| 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"
 | |
| )
 | |
| 
 | |
| // Commands is list of all Dockerfile commands
 | |
| var Commands = map[string]struct{}{
 | |
| 	Add:         {},
 | |
| 	Arg:         {},
 | |
| 	Cmd:         {},
 | |
| 	Copy:        {},
 | |
| 	Entrypoint:  {},
 | |
| 	Env:         {},
 | |
| 	Expose:      {},
 | |
| 	From:        {},
 | |
| 	Healthcheck: {},
 | |
| 	Label:       {},
 | |
| 	Maintainer:  {},
 | |
| 	Onbuild:     {},
 | |
| 	Run:         {},
 | |
| 	Shell:       {},
 | |
| 	StopSignal:  {},
 | |
| 	User:        {},
 | |
| 	Volume:      {},
 | |
| 	Workdir:     {},
 | |
| }
 |