Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
apk-tools
apk-tools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • apk-toolsapk-tools
  • Issues
  • #4905

Closed
Open
Opened Nov 30, 2015 by Natanael Copa@ncopaOwner

support for disabling cache

It would be nice to have an --no-cache option to apk so we avoid apk-install wrapper scripts that only does apk add --update <packages> && rm -rf /var/cache/apk/*

See
https://github.com/gliderlabs/docker-alpine/pull/18\#issuecomment-107515657

(from redmine: issue id 4905, created on 2015-11-30, closed on 2016-07-28)

  • Changesets:
    • Revision c43bfed8 by Natanael Copa on 2015-12-07T12:50:32Z:
db: add support for --no-cache

Implement --no-cache. The index is read directly from network and not
cached. This is useful for docker, where you install a set of packages
and directly after purge the cache. (see
https://github.com/gliderlabs/docker-alpine/blob/1fc9e59d1689fc4eaf930ec66389fe58062fccec/builder/scripts/apk-install)

fixes #4905
  • Revision 95c8dee6aadee2f1df56e0a206b1a7ab3fab6224 by Natanael Copa on 2015-12-07T13:20:22Z:
main/apk-tools: backport support for --no-cache

ref #4905
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/apk-tools#4905