mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 19:34:05 +02:00
Switch to vaultwarden
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user