--no-install-recommends
DOK-DL3015--no-install-recommends
13# apt-get update
14RUN apt-get clean -y && apt-get update -y
15# update some packages
16RUN apt-get install -y wget git ca-certificates curl && update-ca-certificates17# install deps
18RUN apt-get install -y --no-install-recommends build-essential python-dev libpq-dev libevent-dev libmagic-dev
19
--no-install-recommends
5RUN apt-get install -y curl apt-transport-https
6RUN echo "deb https://packages.cloud.google.com/apt cloud-sdk-jessie main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
7RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
8RUN apt-get update -y && apt-get install -y google-cloud-sdk && apt-get autoremove -y 9RUN apt-get clean -y
10
11CMD gcloud info
--no-install-recommends
2MAINTAINER Niranjan Rajendran <[email protected]>
3
4RUN apt-get clean -y && apt-get update -y
5RUN apt-get install -y curl apt-transport-https 6RUN echo "deb https://packages.cloud.google.com/apt cloud-sdk-jessie main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
7RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
8RUN apt-get update -y && apt-get install -y google-cloud-sdk && apt-get autoremove -y
Avoid installing additional packages that you do not explicitly want.
FROM debian:buster
RUN apt-get install -y python=2.7
FROM debian:buster
RUN apt-get install -y --no-install-recommends python=2.7