mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 13:51:14 +00:00 
			
		
		
		
	Update Rust version in Dockerfile
Updated Rust from v1.60 to v1.61 for building the images. Also made the rust version fixed for the Alpine build images to prevent those images being build with a newer version when released.
This commit is contained in:
		
					parent
					
						
							
								b636d20c64
							
						
					
				
			
			
				commit
				
					
						2168d09421
					
				
			
		
					 18 changed files with 22 additions and 22 deletions
				
			
		|  | @ -3,22 +3,22 @@ | |||
| # This file was generated using a Jinja2 template. | ||||
| # Please make your changes in `Dockerfile.j2` and then `make` the individual Dockerfiles. | ||||
| 
 | ||||
| {% set build_stage_base_image = "rust:1.60-bullseye" %} | ||||
| {% set build_stage_base_image = "rust:1.61-bullseye" %} | ||||
| {% if "alpine" in target_file %} | ||||
| {%   if "amd64" in target_file %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:x86_64-musl-stable" %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:x86_64-musl-stable-1.61.0" %} | ||||
| {%     set runtime_stage_base_image = "alpine:3.15" %} | ||||
| {%     set package_arch_target = "x86_64-unknown-linux-musl" %} | ||||
| {%   elif "armv7" in target_file %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:armv7-musleabihf-stable" %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:armv7-musleabihf-stable-1.61.0" %} | ||||
| {%     set runtime_stage_base_image = "balenalib/armv7hf-alpine:3.15" %} | ||||
| {%     set package_arch_target = "armv7-unknown-linux-musleabihf" %} | ||||
| {%   elif "armv6" in target_file %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:arm-musleabi-stable" %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:arm-musleabi-stable-1.61.0" %} | ||||
| {%     set runtime_stage_base_image = "balenalib/rpi-alpine:3.15" %} | ||||
| {%     set package_arch_target = "arm-unknown-linux-musleabi" %} | ||||
| {%   elif "arm64" in target_file %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:aarch64-musl-stable" %} | ||||
| {%     set build_stage_base_image = "blackdex/rust-musl:aarch64-musl-stable-1.61.0" %} | ||||
| {%     set runtime_stage_base_image = "balenalib/aarch64-alpine:3.15" %} | ||||
| {%     set package_arch_target = "aarch64-unknown-linux-musl" %} | ||||
| {%   endif %} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue