Browse Source
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.
pull/784/head
Robin Schneider
5 years ago
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6
10 changed files with
30 additions and
20 deletions
-
docker/Dockerfile.j2
-
docker/aarch64/mysql/Dockerfile
-
docker/aarch64/sqlite/Dockerfile
-
docker/amd64/mysql/Dockerfile
-
docker/amd64/postgresql/Dockerfile
-
docker/amd64/sqlite/Dockerfile
-
docker/armv6/mysql/Dockerfile
-
docker/armv6/sqlite/Dockerfile
-
docker/armv7/mysql/Dockerfile
-
docker/armv7/sqlite/Dockerfile
|
|
@ -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 |
|
|
|
|
|
|
|