Skip to content

Proposal: Disable apt caching #3

Description

@joshuataylor

When running apt-get install foo, the result is cached and requires an apt-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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions