Skip to content

[Dockerfile] Adding package update steps to build and runtime stages#171

Merged
rmouritzen-splunk merged 1 commit intoocsf:mainfrom
floydtree:docker-file-update
Feb 18, 2026
Merged

[Dockerfile] Adding package update steps to build and runtime stages#171
rmouritzen-splunk merged 1 commit intoocsf:mainfrom
floydtree:docker-file-update

Conversation

@floydtree
Copy link
Copy Markdown
Contributor

@floydtree floydtree commented Feb 18, 2026

Builder Stage Improvements

  • Added apk upgrade --no-cache to apply patches to existing packages
  • Modified openssl installation to use --no-cache flag to avoid storing package cache
  • Added explicit cache cleanup with rm -rf /var/cache/apk/* to reduce image size

Runtime Stage Improvements

  • Ensures the final runtime image has the latest patches
  • Removes apk cache to minimize final image size

Signed-off-by: Rajas Panat <rajaspa@amazon.com>
@rmouritzen-splunk rmouritzen-splunk merged commit 9ac19f6 into ocsf:main Feb 18, 2026
1 check passed
@floydtree floydtree deleted the docker-file-update branch February 19, 2026 04:46
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.

3 participants