mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-07 07:16:17 +00:00
55f883a566
Trivy / Trivy Scan (push) Has been cancelled
Build / Build and Test msrv (push) Has been cancelled
Build / Build and Test rust-toolchain (push) Has been cancelled
Check templates / Validate docker templates (push) Has been cancelled
Hadolint / Validate Dockerfile syntax (push) Has been cancelled
Code Spell Checking / Run typos spell checking (push) Has been cancelled
Security Analysis with zizmor / Run zizmor (push) Has been cancelled
Release / Build Vaultwarden containers (amd64, alpine) (push) Has been cancelled
Release / Build Vaultwarden containers (amd64, debian) (push) Has been cancelled
Release / Build Vaultwarden containers (arm/v6, alpine) (push) Has been cancelled
Release / Build Vaultwarden containers (arm/v6, debian) (push) Has been cancelled
Release / Build Vaultwarden containers (arm/v7, alpine) (push) Has been cancelled
Release / Build Vaultwarden containers (arm/v7, debian) (push) Has been cancelled
Release / Build Vaultwarden containers (arm64, alpine) (push) Has been cancelled
Release / Build Vaultwarden containers (arm64, debian) (push) Has been cancelled
Release / Merge manifests (alpine) (push) Has been cancelled
Release / Merge manifests (debian) (push) Has been cancelled
* Config server setting suppressOnboardingInterstitials * Backport fix playwright tests --------- Co-authored-by: Timshel <timshel@users.noreply.github.com>
42 lines
988 B
Docker
42 lines
988 B
Docker
FROM playwright_oidc_vaultwarden_prebuilt AS prebuilt
|
|
|
|
FROM node:22-trixie AS build
|
|
|
|
ARG REPO_URL
|
|
ARG COMMIT_HASH
|
|
|
|
ENV REPO_URL=$REPO_URL
|
|
ENV COMMIT_HASH=$COMMIT_HASH
|
|
|
|
COPY --from=prebuilt /web-vault /web-vault
|
|
|
|
COPY build.sh /build.sh
|
|
RUN /build.sh
|
|
|
|
######################## RUNTIME IMAGE ########################
|
|
FROM docker.io/library/debian:trixie-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Create data folder and Install needed libraries
|
|
RUN mkdir /data && \
|
|
apt-get update && apt-get install -y \
|
|
--no-install-recommends \
|
|
ca-certificates \
|
|
curl \
|
|
libmariadb-dev \
|
|
libpq5 \
|
|
openssl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copies the files from the context (Rocket.toml file and web-vault)
|
|
# and the binary from the "build" stage to the current stage
|
|
WORKDIR /
|
|
|
|
COPY --from=prebuilt /start.sh .
|
|
COPY --from=prebuilt /vaultwarden .
|
|
COPY --from=build /data ./data
|
|
COPY --from=build /web-vault ./web-vault
|
|
|
|
ENTRYPOINT ["/start.sh"]
|