We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running apt-get install foo, the result is cached and requires an apt-get clean to remove this cache. However, adding
apt-get install foo
apt-get clean
RUN echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache
As an initial step will mean that packages are not cached with apt, and will not require an apt-get clean.
Thoughts?
The text was updated successfully, but these errors were encountered:
ah! one liner at the beginning = less lines later on? Im keen!
Sorry, something went wrong.
No branches or pull requests
When running
apt-get install foo
, the result is cached and requires anapt-get clean
to remove this cache.However, adding
RUN echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache
As an initial step will mean that packages are not cached with apt, and will not require an apt-get clean.
Thoughts?
The text was updated successfully, but these errors were encountered: