chore: switch from distroless to scratch (#144)
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful

Reviewed-on: #144
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
Robert Kaussow 2023-11-26 12:54:23 +01:00 committed by Robert Kaussow
parent bc5e7ff342
commit 5738015f1b
3 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,2 @@
(V|v)aultwarden
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 --version
FROM gcr.io/distroless/cc
FROM scratch
LABEL maintainer="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 -->
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.