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 f8e49ea3f42e50fbdcc764e99d833bc78291d72f
parent f6a4a2127b64201eac48dbb59e5beb4529d11d04
Author: Robin Schneider <ypid@riseup.net>
Date:   Tue, 31 Dec 2019 16:40:15 +0100

Use apt-get instead of apt in Dockerfiles, also --no-install-recommends

apt is intended for humans, not scripts.

--no-install-recommends improves build time by avoiding to install
unneeded packages.

Diffstat:
Mdocker/Dockerfile.j2 | 5+++--
Mdocker/aarch64/mysql/Dockerfile | 5+++--
Mdocker/aarch64/sqlite/Dockerfile | 5+++--
Mdocker/amd64/mysql/Dockerfile | 5+++--
Mdocker/amd64/postgresql/Dockerfile | 5+++--
Mdocker/amd64/sqlite/Dockerfile | 5+++--
Mdocker/armv6/mysql/Dockerfile | 5+++--
Mdocker/armv6/sqlite/Dockerfile | 5+++--
Mdocker/armv7/mysql/Dockerfile | 5+++--
Mdocker/armv7/sqlite/Dockerfile | 5+++--
10 files changed, 30 insertions(+), 20 deletions(-)

diff --git a/docker/Dockerfile.j2 b/docker/Dockerfile.j2 @@ -45,8 +45,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar {% endif %} diff --git a/docker/aarch64/mysql/Dockerfile b/docker/aarch64/mysql/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/aarch64/sqlite/Dockerfile b/docker/aarch64/sqlite/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/amd64/mysql/Dockerfile b/docker/amd64/mysql/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/amd64/postgresql/Dockerfile b/docker/amd64/postgresql/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/amd64/sqlite/Dockerfile b/docker/amd64/sqlite/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/armv6/mysql/Dockerfile b/docker/armv6/mysql/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/armv6/sqlite/Dockerfile b/docker/armv6/sqlite/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/armv7/mysql/Dockerfile b/docker/armv7/mysql/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar diff --git a/docker/armv7/sqlite/Dockerfile b/docker/armv7/sqlite/Dockerfile @@ -16,8 +16,9 @@ ARG TERM=xterm-256color RUN echo $TERM -RUN apt update -y \ - && apt install -y \ +RUN apt-get update \ + && apt-get install -y \ + --no-install-recommends \ curl \ tar