mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-10 14:24:31 +00:00
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.
This commit is contained in:
parent
f6a4a2127b
commit
f8e49ea3f4
10 changed files with 30 additions and 20 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue