mirror of
				https://github.com/containers/podman.git
				synced 2025-11-01 02:42:11 +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>
		
			
				
	
	
		
			11 lines
		
	
	
		
			816 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			816 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.
 | |
| #### **--timestamp**=*seconds*
 | |
| 
 | |
| Set the create timestamp to seconds since epoch to allow for deterministic builds (defaults to current time). By default, the created timestamp is changed and written into the image manifest with every commit, causing the image's sha256 hash to be different even if the sources are exactly the same otherwise.
 | |
| When --timestamp is set, the created timestamp is always set to the time specified and therefore not changed, allowing the image's sha256 hash to remain the same. All files committed to the layers of the image is created with the timestamp.
 | |
| 
 | |
| If the only instruction in a Containerfile is `FROM`, this flag has no effect.
 |