Switch to vaultwarden

This commit is contained in:
Alexandre
2021-05-16 08:27:06 +02:00
committed by GitHub
parent 2adf6c9617
commit db1b8fd1b1

View File

@@ -6,7 +6,7 @@ ARG BUILD_VERSION
ARG BUILD_UPSTREAM="1.21.0" ARG BUILD_UPSTREAM="1.21.0"
# hadolint ignore=DL3006 # hadolint ignore=DL3006
FROM "vaultwarden/server:${BUILD_UPSTREAM}" as bitwarden FROM "vaultwarden/server:${BUILD_UPSTREAM}" as vaultwarden
############################################################################### ###############################################################################
# Build the actual add-on. # Build the actual add-on.
@@ -18,9 +18,9 @@ FROM ${BUILD_FROM}
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Get the Bitwarden from official images # Get the Bitwarden from official images
COPY --from=bitwarden /bitwarden_rs /opt/bitwarden_rs COPY --from=vaultwarden /vaultwarden /opt/vaultwarden
COPY --from=bitwarden /Rocket.toml /opt/Rocket.toml COPY --from=vaultwarden /Rocket.toml /opt/Rocket.toml
COPY --from=bitwarden /web-vault /opt/web-vault COPY --from=vaultwarden /web-vault /opt/web-vault
# add Nginx # add Nginx
# hadolint ignore=DL3009 # hadolint ignore=DL3009