chore: switch from distroless to scratch #144

Merged
xoxys merged 1 commits from use-scratch into main 2023-11-26 11:54:23 +00:00
3 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,2 @@
(V|v)aultwarden (V|v)aultwarden
Bitwarden Bitwarden
distroless

View File

@ -44,7 +44,7 @@ RUN ldd target/$(cat rust_target)/release/vaultwarden && \
target/$(cat rust_target)/release/vaultwarden --help && \ target/$(cat rust_target)/release/vaultwarden --help && \
target/$(cat rust_target)/release/vaultwarden --version target/$(cat rust_target)/release/vaultwarden --version
FROM gcr.io/distroless/cc FROM scratch
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>" LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"

View File

@ -12,7 +12,7 @@ Custom image for Vaultwarden password manager
<!-- spellchecker-enable --> <!-- spellchecker-enable -->
Custom distroless container image for [Vaultwarden](https://github.com/dani-garcia/vaultwarden). Vaultwarden is a Bitwarden server API implementation written in Rust compatible with upstream Bitwarden clients. Custom rootless container image for [Vaultwarden](https://github.com/dani-garcia/vaultwarden). Vaultwarden is a Bitwarden server API implementation written in Rust compatible with upstream Bitwarden clients.
> **WARNING**: This version only supports SQLite and PostgreSQL databases. > **WARNING**: This version only supports SQLite and PostgreSQL databases.