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.
- Installed
git-buildpackage
from your apt - Installed build dependencies as defined in debian/control
Build-Depends
(will notify you in the build process otherwise)mk-build-deps
can help you automate the installation
- If
rust
/cargo
is not recent enough:- Don't forget to look into your
*-updates
/*-backports
apt sources for newer versions - This debian source also supports those installed with help of
rustup
- Requires preloaded
rustup toolchain install <version>
before invoking packaging
- Requires preloaded
- Don't forget to look into your
- Clone with git-buildpackage:
gbp clone https://github.com/dionysius/vaultwarden-deb.git
- Switch to the folder:
cd vaultwarden-deb
- Build with git-buildpackage:
gbp buildpackage
- There are many arguments to fine-tune the build (see
gbp buildpackage --help
anddpkg-buildpackage --help
) - Notable options:
-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)
- There are many arguments to fine-tune the build (see
- Automatic notification on new upstream releases. Optimally with automatic PR with those updates