Skip to content

Proposal: Disable apt caching #3

@joshuataylor

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?

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