Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@spurti-chopra
Last active September 14, 2018 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spurti-chopra/53a671aa9a2c5b96ff3739a568892b87 to your computer and use it in GitHub Desktop.
Save spurti-chopra/53a671aa9a2c5b96ff3739a568892b87 to your computer and use it in GitHub Desktop.
## Dockerfile, with RUN uncombined
FROM ubuntu:16.04
ADD app.zip . # App of 200 MB
RUN chmod 777 app.zip
RUN rm -rf app.zip
## Dockerfile, with RUN combined
FROM ubuntu:16.04
ADD app.zip . # App of 200 MB
RUN chmod 777 app.zip && rm -rf app.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment