Fork du dépôt https://github.com/greizgh/bitwarden_rs-debian.git avec les adaptations pour compiler vaultwarden sur Ubuntu 18.04
9989534983
* Move Dockerfile.patch files to architecture dependent directories Need a way to distinguish between patches when we implement support for other architectures. Putting them in different paths seems simple and straight forward enough. * Add -a option to support arm32v7 and amd64 architectures Previous releases lacked support for compiling for arm32v7 architecture. In order to keep previous behaviour the default is set to amd64. Using the -a option, users can now choose between arm32v7 and amd64. If arm32v7 is used only the Buster release of debian is supported. The limitation is due to the libmariadb3:armhf dependency not being avaliable in earlier debian releases. * Update documentation to detail the -a option * Remove reference to local dirs * Set debian package to report correct architecture for arm32v7 build * Format arm32v7 Dockerfile.patch to match the amd64 * Handle architecture property in control file dynamically Similar to version, the architecture property in the control file should be handled dynamically. The build script will now replace the architecture prop from control.dist to match the choosen architecture. |
||
---|---|---|
debian | ||
patch | ||
.gitignore | ||
build.sh | ||
control.dist | ||
README.md |
Bitwarden_rs debian package helper
Bitwarden_rs is an "Unofficial Bitwarden compatible server written in Rust".
This repository will help you produce a debian package.
TL;DR
Make sure you have the required build dependencies:
- docker
- git
- patch
- curl
Then:
git clone https://github.com/greizgh/bitwarden_rs-debian.git
cd bitwarden_rs-debian
./build.sh -r 1.17.0
The build.sh
script will build bitwarden_rs for the same Debian version which targets bitwarden_rs.
To compile for a different Debian version, specify the release name (e.g. Stretch, Buster) using the -o
option. You can compile for arm32v7 or amd64 architecture using the -a
option, only the Buster (default) release of debian is supported by arm32v7.
./build.sh -o stretch
Post installation
The packaged systemd unit is disabled, you need to configure bitwarden_rs through its
EnvFile:
/etc/bitwarden_rs/config.env
You will also probably want to setup a reverse proxy.