Skip to content
Snippets Groups Projects
  1. Jul 23, 2024
    • Daniel's avatar
      Fix Dockerfile linter warnings (#4763) · 0e53f582
      Daniel authored
      - they seem to have started appearing with buildx v0.16.0
      - skip lint check for FromPlatformFlagConstDisallowed and RedundantTargetPlatform
      0e53f582
  2. Jul 10, 2024
  3. Jun 24, 2024
  4. May 19, 2024
    • Daniel's avatar
      Optimize Dockerfiles (#4532) · 32615344
      Daniel authored
      Move some ARGs closer to the build stage (potentially improving caching)
      Remove redundant COPY commands
      Remove redundant RUN command
      Move CARGO_HOME's "&&" operator to the first line (improves consistency)
      32615344
  5. Apr 27, 2024
    • Mathijs van Veluw's avatar
      Add extra (unsupported) container build arch's (#4524) · ca9234ed
      Mathijs van Veluw authored
      There was a PR (#4370) to add i686/i386 support for Vaultwarden.
      That specific PR was not a viable way of adding this.
      
      This PR adds extra architectures for Debian based containers which we
      will not support by default. Those images will not be build and pushed
      to our container registries.
      
      Added the following architectures:
       - linux/386
       - linux/ppc64le
       - linux/s390x
      
      Again, there will be no major support for these architectures, but it
      will allow people who use these architectures to build a Debian based
      binary more easily
      ca9234ed
  6. Dec 09, 2023
    • Mathijs van Veluw's avatar
      Fix the version string (#4153) · 3246251f
      Mathijs van Veluw authored
      For some reason still not known, the `.git` directory was not copied
      into the container. I think buildkit (buildx) did this by default before, and
      stopped this with newer versions.
      
      This PR fixes this by also touching `build.rs` besides `src/main.rs`.
      
      This PR also updates Rust to v1.74.1 and some crates, including the
      latest version of Alpine 3.19.
      
      Fixes #4150
      3246251f
  7. Oct 22, 2023
    • Mathijs van Veluw's avatar
      Container building changes (#3958) · d722328f
      Mathijs van Veluw authored
      * 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
      d722328f
  8. Sep 22, 2023
    • BlackDex's avatar
      Fix arm builds · ccc51e75
      BlackDex authored
      Because of some changes in the packages of Debian we need to add an
      extra package to request it also to install
      ccc51e75
  9. Sep 01, 2023
  10. Aug 31, 2023
  11. Aug 13, 2023
  12. Aug 12, 2023
    • BlackDex's avatar
      Update images to Bookworm and PQ15 · aaeae169
      BlackDex authored
      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
      aaeae169
  13. Jun 04, 2023
  14. Jun 03, 2023
  15. May 12, 2023
  16. May 03, 2023
  17. May 01, 2023
  18. Apr 24, 2023
    • BlackDex's avatar
      Update Rust and Crates · cfba8347
      BlackDex authored
      - Updated Rust to v1.69.0
      - Updated MSRV to v1.67.1
      - Updated crates
      - Updated GitHub Actions
      cfba8347
  19. Apr 02, 2023
    • BlackDex's avatar
      Revert setcap, update rust and crates · fc43608e
      BlackDex authored
      - 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
      fc43608e
  20. Mar 26, 2023
  21. Mar 23, 2023
    • BlackDex's avatar
      Add support for Quay.io and GHCR.io as registries · 467ecfdc
      BlackDex authored
      - 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!
      467ecfdc
  22. Mar 22, 2023
  23. Mar 07, 2023
  24. Feb 21, 2023
  25. Feb 13, 2023
  26. Feb 01, 2023
    • Jeremy Lin's avatar
      Allow listening on privileged ports (below 1024) as non-root · a2162f4d
      Jeremy Lin authored
      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.
      a2162f4d
  27. Jan 24, 2023
  28. Jan 12, 2023
  29. Dec 18, 2022
    • Daniel García's avatar
    • BlackDex's avatar
      Disable groups by default and Some optimizations · 67a584c1
      BlackDex authored
      - 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.
      67a584c1
  30. Dec 16, 2022
    • BlackDex's avatar
      Disable groups by default and Some optimizations · 8b6dfe48
      BlackDex authored
      - 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.
      8b6dfe48
  31. Dec 12, 2022
  32. Dec 01, 2022
Loading