Skip to content

Improve Dockerfile apk cache handling#478

Merged
snshn merged 1 commit intoY2Z:masterfrom
PeterDaveHelloKitchen:docker-apk-cache-cleanup
Apr 30, 2026
Merged

Improve Dockerfile apk cache handling#478
snshn merged 1 commit intoY2Z:masterfrom
PeterDaveHelloKitchen:docker-apk-cache-cleanup

Conversation

@PeterDaveHello
Copy link
Copy Markdown
Contributor

Drop the redundant apk update and cache removal commands in the runtime stage. The --no-cache flag already keeps the package index out of the layer, so the simplified instruction avoids needless work.

GitHub Copilot Summary:

This pull request makes a minor change to the Dockerfile by simplifying the package installation step. The unnecessary cache clearing and update command have been removed, streamlining the build process.

Drop the redundant apk update and cache removal commands in the runtime stage.
The --no-cache flag already keeps the package index out of the layer, so
the simplified instruction avoids needless work.
@snshn
Copy link
Copy Markdown
Member

snshn commented Apr 30, 2026

Thank you.

@snshn snshn merged commit 623ffcc into Y2Z:master Apr 30, 2026
@PeterDaveHello PeterDaveHello deleted the docker-apk-cache-cleanup branch May 2, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants