mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-30 01:38:20 +02:00 
			
		
		
		
	Update images to Bookworm and PQ15
This PR updates the base images to use Debian Bookworm as base image. Also the MUSL/Alpine builds now use OpenSSLv3 and PostgreSQL v15. The GHA Workflows are updated to use Ubuntu 22.04 to better match the versions of Debian Bookworm. Also: - Enabled spares crate registry - Updated workflow actions - Updated Rust to v1.71.0 - The rust-musl images now use musl v1.2.3 for the 32bit arch's if the Rust version is v1.71.0 or higher. The 64bit arch's already used musl v1.2.3. - Updated crates. Improves / Closes #3434
This commit is contained in:
		| @@ -26,7 +26,7 @@ | ||||
| FROM docker.io/vaultwarden/web-vault@sha256:e5b5e99d132d50dc73176afb65f41cf3b834fb06bfa1d621ac16c705c3f10085 as vault | ||||
|  | ||||
| ########################## BUILD IMAGE  ########################## | ||||
| FROM docker.io/library/rust:1.70.0-bullseye as build | ||||
| FROM docker.io/library/rust:1.71.0-bookworm as build | ||||
|  | ||||
| # Build time options to avoid dpkg warnings and help with reproducible builds. | ||||
| ENV DEBIAN_FRONTEND=noninteractive \ | ||||
| @@ -34,6 +34,7 @@ ENV DEBIAN_FRONTEND=noninteractive \ | ||||
|     TZ=UTC \ | ||||
|     TERM=xterm-256color \ | ||||
|     CARGO_HOME="/root/.cargo" \ | ||||
|     REGISTRIES_CRATES_IO_PROTOCOL=sparse \ | ||||
|     USER="root" | ||||
|  | ||||
| # Create CARGO_HOME folder and don't download rust docs | ||||
| @@ -99,7 +100,7 @@ RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu | ||||
| ######################## RUNTIME IMAGE  ######################## | ||||
| # Create a new stage with a minimal image | ||||
| # because we already have a binary built | ||||
| FROM docker.io/balenalib/aarch64-debian:bullseye | ||||
| FROM docker.io/balenalib/aarch64-debian:bookworm | ||||
|  | ||||
| ENV ROCKET_PROFILE="release" \ | ||||
|     ROCKET_ADDRESS=0.0.0.0 \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user