fossasia / open-event-server

Delete the apt-get lists after installing anything DOK-DL3009
Performance
Major
5 months agoa year old
Delete the apt-get lists after installing something
11ENV REPOSITORY ${REPOSITORY:-https://github.com/fossasia/open-event-server.git}
12
13# apt-get update
14RUN apt-get clean -y && apt-get update -y15# update some packages
16RUN apt-get install -y wget git ca-certificates curl && update-ca-certificates
17# install deps
Delete the apt-get lists after installing something
 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
Delete the apt-get lists after installing something
 1FROM debian:jessie-slim
 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 -