Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise package installs in gastonjs #57

Closed
nicksantamaria opened this issue Feb 23, 2018 · 0 comments
Closed

Optimise package installs in gastonjs #57

nicksantamaria opened this issue Feb 23, 2018 · 0 comments
Labels
lint-optimisation Optimisation recommended by lint tool

Comments

@nicksantamaria
Copy link
Contributor

RUN apt-get update && \

Line 8: RUN apt-get update && \
Issue  Category      Title                 Description
    1  Optimization  apt-get update with   Use of apt-get update should be paired with rm -rf
                     matching cache rm     /var/lib/apt/lists/* in the same layer.
    2  Optimization  Consider              Consider using a `--no-install-recommends` when `apt-get`
                     `--no-install-recomm  installing packages.  This will result in a smaller image size.
                     ends`                 For
                                           more information, see [this blog
                                           post](http://blog.replicated.com/2016/02/05/refactoring-a-dockerfil
                                           e-for-image-size/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lint-optimisation Optimisation recommended by lint tool
Projects
None yet
Development

No branches or pull requests

1 participant