posit-dev / posit-dev/images-shared

Add option to remove package list files after use in install macros

Open
#354 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cvp:0 docker enhancement python tdp:2
Dominant language
Python
Stars
2
Forks
0
Avg merge
4d 13h
Merged PRs (30d)
22

Description

In most cases, files used as package list files for apt, python, etc. commands should be removed from the image after the install is complete. We should consider having an option to perform this cleanup automatically or include it as part of any existing clean logic.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the install macros that create or consume package list files for apt and Python commands, then review any existing clean logic. Define whether cleanup is opt-in or part of the existing behavior, and verify that completed installs leave no package list files in the image.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.