vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 0a3008e7538c1a29b8b5a6439004e89465fce391
parent 29a079521974027d12d6f504f37dcb42cc6a03d9
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Sat, 22 Feb 2020 16:00:43 +0100

Update web vault used in docker

Diffstat:
Mdocker/Dockerfile.j2 | 5++---
Mdocker/aarch64/mysql/Dockerfile | 5++---
Mdocker/aarch64/sqlite/Dockerfile | 5++---
Mdocker/amd64/mysql/Dockerfile | 5++---
Mdocker/amd64/mysql/Dockerfile.alpine | 5++---
Mdocker/amd64/postgresql/Dockerfile | 5++---
Mdocker/amd64/postgresql/Dockerfile.alpine | 5++---
Mdocker/amd64/sqlite/Dockerfile | 5++---
Mdocker/amd64/sqlite/Dockerfile.alpine | 5++---
Mdocker/armv6/mysql/Dockerfile | 5++---
Mdocker/armv6/sqlite/Dockerfile | 5++---
Mdocker/armv7/mysql/Dockerfile | 5++---
Mdocker/armv7/sqlite/Dockerfile | 5++---
13 files changed, 26 insertions(+), 39 deletions(-)

diff --git a/docker/Dockerfile.j2 b/docker/Dockerfile.j2 @@ -31,7 +31,7 @@ {% endif %} FROM {{ vault_stage_base_image }} as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" @@ -42,8 +42,7 @@ RUN apk add --no-cache --upgrade curl tar ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color {% endif %} -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / {% if "alpine" in vault_stage_base_image %} SHELL ["/bin/ash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/aarch64/mysql/Dockerfile b/docker/aarch64/mysql/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/aarch64/sqlite/Dockerfile b/docker/aarch64/sqlite/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/amd64/mysql/Dockerfile b/docker/amd64/mysql/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/amd64/mysql/Dockerfile.alpine b/docker/amd64/mysql/Dockerfile.alpine @@ -7,14 +7,13 @@ ####################### VAULT BUILD IMAGE ####################### FROM alpine:3.11 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" RUN apk add --no-cache --upgrade curl tar -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/ash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/amd64/postgresql/Dockerfile b/docker/amd64/postgresql/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/amd64/postgresql/Dockerfile.alpine b/docker/amd64/postgresql/Dockerfile.alpine @@ -7,14 +7,13 @@ ####################### VAULT BUILD IMAGE ####################### FROM alpine:3.11 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" RUN apk add --no-cache --upgrade curl tar -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/ash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/amd64/sqlite/Dockerfile b/docker/amd64/sqlite/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/amd64/sqlite/Dockerfile.alpine b/docker/amd64/sqlite/Dockerfile.alpine @@ -7,14 +7,13 @@ ####################### VAULT BUILD IMAGE ####################### FROM alpine:3.11 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" RUN apk add --no-cache --upgrade curl tar -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/ash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/armv6/mysql/Dockerfile b/docker/armv6/mysql/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/armv6/sqlite/Dockerfile b/docker/armv6/sqlite/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/armv7/mysql/Dockerfile b/docker/armv7/mysql/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"] diff --git a/docker/armv7/sqlite/Dockerfile b/docker/armv7/sqlite/Dockerfile @@ -7,15 +7,14 @@ ####################### VAULT BUILD IMAGE ####################### FROM rust:1.40 as vault -ENV VAULT_VERSION "v2.12.0c" +ENV VAULT_VERSION "v2.12.0d" ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz" # Build time options to avoid dpkg warnings and help with reproducible builds. ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color -RUN mkdir /web-vault -WORKDIR /web-vault +WORKDIR / SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-c"]