This debian source package builds vaultwarden natively on your build environment with mysql, postgresql and sqlite support. No annoying docker! It is managed with git-buildpackage and aims to be a pretty good quality debian source package. You can find the maintaining command summary in debian/gbp.conf.
You will also need vaultwarden-web-vault-deb.
Prebuild deb and src packages are automatically built in Github Actions for the latest Ubuntu LTS and Debian stable in various architectures (if applicable).
For manual installation they are available in the releases section and you can verify the signatures with this signing-key.
For using apt they are available on packagecloud. See their installation instructions on how to setup the apt source. Be aware that they use a different signing key. vaultwarden-web-vault-deb is also automatically uploaded to this repo.
git-buildpackage
from your aptBuild-Depends
(will notify you in the build process otherwise)
mk-build-deps
can help you automate the installationrust
/cargo
is not recent enough:
*-updates
/*-backports
apt sources for newer versionsrustup
rustup toolchain install <version>
before invoking packaginggbp clone https://github.com/dionysius/vaultwarden-deb.git
cd vaultwarden-deb
gbp buildpackage
gbp buildpackage --help
and dpkg-buildpackage --help
)-b
(binary-only, no source files), -us
(unsigned source package), -uc
(unsigned .buildinfo and .changes file), --git-export-dir=<somedir>
(before building the package export the source there), -d
if you need to ignore build-depends (you probably still need them installed from a debian package)