mirror of https://github.com/kubernetes/kops.git
Some debian package manager tweaks
By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install. This results in smaller downloads and installation of packages . Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) . Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
This commit is contained in:
parent
ffe3b3468d
commit
e9bafc6785
|
@ -16,7 +16,7 @@ FROM debian:jessie
|
|||
# ^ Cannot be Alpine since it does not support systemctl
|
||||
# ^ Systemctl is used to restart kubelet upon successful run of run.sh
|
||||
|
||||
RUN apt-get update && apt-get -yq install curl jq
|
||||
RUN apt-get update && apt-get --no-install-recommends -yq install apt-utils ca-certificates apt-transport-https curl jq
|
||||
|
||||
ADD run.sh /run.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue