aboutsummaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)Author
2023-11-04Update web vault to 2023.10.0Daniel García
2023-10-23Container building changes (#3958)Mathijs van Veluw
* WIP: Container building changes * Small updates - Updated to rust 1.73.0 - Updated crates - Updated documentation - Added a bake.sh script to make baking easier * Update GitHub Actions Workflow - Updated workflow to use qemu and buildx bake In the future i would like to extract the alpine based binaries and add them as artifacts to the release. * Address review remarks and small updates - Addressed review remarks - Added `podman-bake.sh` script to build Vaultwarden with podman - Updated README - Updated crates - Added `VW_VERSION` support - Added annotations - Updated web-vault to v2023.9.1
2023-09-22Fix arm buildsBlackDex
Because of some changes in the packages of Debian we need to add an extra package to request it also to install
2023-09-01update web-vault to v2023.8.2Stefan Melmuk
2023-09-01Fix reference to rust-toolchain.toml in DockerDaniel García
2023-08-31Update Rust and CratesBlackDex
- Updated Rust to v1.72.0 - Updated all the crates Including a CVE https://github.com/dani-garcia/vaultwarden/security/dependabot/21 - Updated GitHub Workflows - Run `cargo fmt` which has some new fmt's - Moved from `rust-toolchain` to `rust-toolchain.toml`
2023-08-13build (deps): Bump Rust version and sync lockfileGeekCornerGH
2023-08-13feat (web vault): Bump web vault to v2023.7.1GeekCorner
2023-08-12Update images to Bookworm and PQ15BlackDex
This PR updates the base images to use Debian Bookworm as base image. Also the MUSL/Alpine builds now use OpenSSLv3 and PostgreSQL v15. The GHA Workflows are updated to use Ubuntu 22.04 to better match the versions of Debian Bookworm. Also: - Enabled spares crate registry - Updated workflow actions - Updated Rust to v1.71.0 - The rust-musl images now use musl v1.2.3 for the 32bit arch's if the Rust version is v1.71.0 or higher. The 64bit arch's already used musl v1.2.3. - Updated crates. Improves / Closes #3434
2023-06-04update web-vault to v2023.5.0Helmut K. C. Tessarek
2023-06-03Update Rust and CratesHelmut K. C. Tessarek
2023-05-12update web-vault to v2023.4.2Stefan Melmuk
2023-05-03Use fully qualified image names in DockerfileGitouche
2023-05-01Update web vault to v2023.4.0Daniel García
2023-04-24Update Rust and CratesBlackDex
- Updated Rust to v1.69.0 - Updated MSRV to v1.67.1 - Updated crates - Updated GitHub Actions
2023-04-02Revert setcap, update rust and cratesBlackDex
- Revert #3170 as discussed in #3387 In hindsight it's better to not have this feature - Update Dockerfile.j2 for easy version changes. Just change it in one place instead of multiple - Updated to Rust to latest patched version - Updated crates to latest available - Pinned mimalloc to an older version, as it breaks on musl builds
2023-03-26Update web vault to v2023.3.0b1.28.0Daniel García
2023-03-23Add support for Quay.io and GHCR.io as registriesBlackDex
- Added support for Quay.io - Added support for GHCR.io To enable support for these container image registries the following needs to be added. As `Actions secrets and variables` - `Secrets` - `DOCKERHUB_TOKEN` and `DOCKERHUB_USERNAME` - `QUAY_TOKEN` and `QUAY_USERNAME` As `Actions secrets and variables` - `Variables` - `Repository Variables` - `DOCKERHUB_REPO` - `GHCR_REPO` - `QUAY_REPO` The `DOCKERHUB_REPO` currently configured in `Secrets` can be removed if wanted, probably best after this PR has been merged. If one of the vars/secrets are not configured it will skip that specific registry!
2023-03-22Update web vault to v2023.3.0 and dependenciesDaniel García
2023-03-07Upd Crates, Rust, MSRV, GHA and remove BacktraceBlackDex
- Changed MSRV to v1.65. Discussed this with @dani-garcia, and we will support **N-2**. This is/will be the same as for the `time` crate we use. Also updated the wiki regarding this https://github.com/dani-garcia/vaultwarden/wiki/Building-binary - Removed backtrace crate in favor of `std::backtrace` stable since v1.65 - Updated Rust to v1.67.1 - Updated all the crates - Updated the GHA action versions - Adjusted the GHA MSRV build to extract the MSRV from `Cargo.toml`
2023-02-21Update web vault to v2023.2.0 and dependenciesDaniel García
2023-02-13Updated Rust and cratesBlackDex
- Updated Rust to v1.67.0 - Updated all crates except for `cookies` and `webauthn`
2023-02-01Allow listening on privileged ports (below 1024) as non-rootJeremy Lin
This is done by running `setcap cap_net_bind_service=+ep` on the executable in the build stage (doing it in the runtime stage creates an extra copy of the executable that bloats the image). This only works when using the BuildKit-based builder, since the `COPY` instruction doesn't copy capabilities on the legacy builder.
2023-01-24Disable Hadolint check for consecutive `RUN` instructions (DL3059)Jeremy Lin
This check doesn't seem to add enough value to justify the difficulties it tends to create when generating `RUN` instructions from a template.
2023-01-24Rename `.buildx` Dockerfiles to `.buildkit`Jeremy Lin
This is a more accurate name, since these Dockerfiles require BuildKit, not Buildx.
2023-01-24Updated web vault to 2023.1.1 and rust dependenciesDaniel García
2023-01-12Update web vault to 2023.1.0Daniel García
2023-01-12Update Rust to v1.66.1 to patch CVEBlackDex
This PR sets Rust to v1.66.1 to fix a CVE. https://blog.rust-lang.org/2023/01/10/cve-2022-46176.html https://blog.rust-lang.org/2023/01/10/Rust-1.66.1.html Also updated some packages while at it.
2022-12-18Update web vault to 2022.12.01.27.0Daniel García
2022-12-16Disable groups by default and Some optimizationsBlackDex
- Put groups support behind a feature flag, and disabled by default. The reason is that it has some known issues, but we want to keep optimizing this feature. Putting it behind a feature flag could help some users, and the developers into optimizing this feature without to much trouble. Further: - Updates Rust to v1.66.0 - Updated GHA workflows - Updated Alpine to 3.17 - Updated jquery to v3.6.2 - Moved jdenticon.js to load at the bottom, fixes an issue on chromium - Added autocomplete attribute to admin login password field - Added some extra CSP options (Tested this on Safari, Firefox, Chrome, Bitwarden Desktop) - Moved uppercase convertion from runtime to compile-time using `paste` for building the environment variables, lowers heap allocations.
2022-12-12Update web vault to v2022.11.2Daniel García
2022-12-01Update web vault to v2022.11.1Daniel García
2022-11-08Update Rust version, deps and workflowBlackDex
- Update Rust to v1.65.0 - Update dependencies - Updated workflow files - Added some extra clippy checks - Fixed some clippy checks
2022-10-26Update web vault to v2022.10.2Daniel García
2022-10-23feat: Bump web-vault to v2022.10.1GeekCorner
2022-10-20Take `ROCKET_ADDRESS` into account in the Docker healthcheckJeremy Lin
2022-10-14Update web-vault to 2022.10.0 and dependencies1.26.0Daniel García
2022-10-09Update web vault to v2022.9.2Daniel García
2022-09-25Update libraries and Rust versionBlackDex
- Updated to Rust v1.64.0 - Updated all libararies - Updated multer-rs to be based upon the latest version - Updated Dockerfiles to match the Rust version
2022-09-08Update web vault to 2022.9.0Daniel García
2022-09-04Update web vault to 2022.8.1 and cargo dependenciesDaniel García
2022-07-31Update deps and Alpine imageBlackDex
- Updated deps - Updated Alpine images to 3.16 - Removed dumb-init, not needed anymore - Some small shellcheck tweaks on the start/healthcheck scripts
2022-07-20Fix persistent folder check within containersBlackDex
The previous persistent folder check worked by checking if a file exists. If you used a bind-mount, then this file is not there. But when using a docker/podman volume those files are copied, and caused the container to not start. This change checks the `/proc/self/mountinfo` for a specific patern to see if the data folder is persistent or not. Fixes #2622
2022-07-15Update web vault to 2022.6.21.25.1Daniel García
2022-07-06Update web vault to v2022.6.0Daniel García
2022-07-06Update the rest of the files leftover from #2595 by running makeDaniel García
2022-07-06Update Dockerfile.j2Nathan Neulinger
2022-07-06Update Dockerfile.buildx.alpineNathan Neulinger
2022-07-06Update Dockerfile.buildxNathan Neulinger
2022-07-06Update Dockerfile.alpineNathan Neulinger