mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 10:18:19 +02:00 
			
		
		
		
	Build as static
This commit is contained in:
		| @@ -71,6 +71,7 @@ RUN rustup set profile minimal | |||||||
|  |  | ||||||
| {% if "alpine" in target_file %} | {% if "alpine" in target_file %} | ||||||
| ENV USER "root" | ENV USER "root" | ||||||
|  | ENV RUSTFLAGS='-C link-arg=-s' | ||||||
|  |  | ||||||
| {% elif "aarch64" in target_file or "armv" in target_file %} | {% elif "aarch64" in target_file or "armv" in target_file %} | ||||||
| # Install required build libs for {{ package_arch_name }} architecture. | # Install required build libs for {{ package_arch_name }} architecture. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user