Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-29 06:20:29 +01: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.
Dieser Commit ist enthalten in:
Ursprung
f6a4a2127b
Commit
f8e49ea3f4
10 geänderte Dateien mit 30 neuen und 20 gelöschten Zeilen
|
@ -45,8 +45,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ ARG TERM=xterm-256color
|
||||||
|
|
||||||
RUN echo $TERM
|
RUN echo $TERM
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt-get update \
|
||||||
&& apt install -y \
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren