mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	 414642efdb
			
		
	
	414642efdb
	
	
	
		
			
			Move the options for the podman build doc to a common md that can be used by both podman build and podman farm build. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			460 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			460 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ####> This option file is used in:
 | |
| ####>   podman build, farm build
 | |
| ####> If file is edited, make sure the changes
 | |
| ####> are applicable to all of those.
 | |
| #### **--ssh**=*default* | *id[=socket>*
 | |
| 
 | |
| SSH agent socket or keys to expose to the build.
 | |
| The socket path can be left empty to use the value of `default=$SSH_AUTH_SOCK`
 | |
| 
 | |
| To later use the ssh agent, use the --mount option in a `RUN` instruction within a `Containerfile`:
 | |
| 
 | |
| `RUN --mount=type=ssh,id=id mycmd`
 |