mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 16:14:20 -05:00
Installation without Docker? #202
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Geobert on GitHub (Jan 21, 2019).
Hi there,
I'm quite a noob in server admin field and I've never used Docker before. Everything on my small personal server (Debian stretch) is installed the old apt way.
That being said, is there a way to install bitwarden_rs without Docker?
If not, I believe I'll learn Docker ^^
@pgaskin commented on GitHub (Jan 21, 2019):
You can extract the docker image (or build it yourself).
First, download: https://github.com/moby/moby/blob/master/contrib/download-frozen-image-v2.sh
Then:
Note: You can ignore the errors about go not being installed.
@dani-garcia commented on GitHub (Jan 21, 2019):
If you can build the binary yourself, you can read https://github.com/dani-garcia/bitwarden_rs/wiki/Building-binary. I think that would be the best way. Extracting the binary from the image, like the previous comment mentioned, is also an alternative.
@Geobert commented on GitHub (Jan 21, 2019):
I'll try that thank you!
@Geobert commented on GitHub (Jan 21, 2019):
I tried the script, I got
error: "jq" not found!@pgaskin commented on GitHub (Jan 21, 2019):
You need to apt install jq.
@Geobert commented on GitHub (Jan 22, 2019):
Thanks, I didn't know about jq until today :D
It seems I need
goas well but can't install it through apt. I'll try compilation, I'm a Rust hobbyist, I already have the stable toolchain. Is nightly still mandatory?EDIT: edited the script to remove go at the beginning check, it works ^^ My question about nightly still goes, by curiosity and maybe future contrib :D
@mprasil commented on GitHub (Jan 22, 2019):
I'm kinda confused what makes you think you need
go? Is it a dependency to build Vault? You can also skip that step and download already built Vault from here.As for your other question, you still need nightly, but there's
rust-toolchainfile in the repository that should makecargo builddownload appropriate version automatically. (we require nightly as our upstream dependency - Rocket requires nightly) Hope that helps.@Geobert commented on GitHub (Jan 22, 2019):
go's presence is checked in the shell script https://github.com/moby/moby/blob/master/contrib/download-frozen-image-v2.sh but @geek1011 told me it can be ignorethanks for the nightly explanation!
@mprasil commented on GitHub (Jan 22, 2019):
Ah right, that's for the moby project, yeah that makes sense as it's written in Go.