mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
Installation without Docker? #2215
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.
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:
You need to apt install jq.
@dani-garcia commented on GitHub:
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.
@pgaskin commented on GitHub:
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.
@Geobert commented on GitHub:
I'll try that thank you!
@Geobert commented on GitHub:
I tried the script, I got
error: "jq" not found!@Geobert commented on GitHub:
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
@Geobert commented on GitHub:
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:
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.@mprasil commented on GitHub:
Ah right, that's for the moby project, yeah that makes sense as it's written in Go.