Commit fc8609f
authored
Clean up apt-get lists after every apt package installation (#1)
It's somehow missing in some steps.
Summary from GitHub Copilot:
> This pull request optimizes the Dockerfile by improving image
cleanliness and reducing its size. The changes ensure that temporary
files created during package installation are removed to minimize the
image's footprint.
>
> ### Dockerfile optimizations:
>
> * Added `rm -rf /var/lib/apt/lists/*` after installing `pipx` to clean
up temporary files and reduce image size.
(`[DockerfileR95](diffhunk://#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R95)`)
> * Added `rm -rf /var/lib/apt/lists/*` after installing `ruby-full` to
remove unnecessary files and maintain a clean image.
(`[DockerfileL176-R178](diffhunk://#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L176-R178)`)1 parent 649c667 commit fc8609f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
176 | | - | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
0 commit comments