Skip to content

Conversation

@droguljic
Copy link
Contributor

This is done for the following reasons:

  • Ensures explicitness and improves readability
  • Enforces consistency by specifying the runtime configuration in the final stage
  • Mitigate potential security breaches by placing after the USER command
  • Avoid breaking security rules such as Semgrep's dockerfile.security.missing-user-entrypoint.missing-user-entrypoint

This is done for the following reasons:
- Ensures explicitness and improves readability
- Enforces consistency by specifying the runtime configuration
in the final stage
- Mitigate potential security breaches by placing
after the `USER` command
- Avoid breaking security rules such as Semgrep's
`dockerfile.security.missing-user-entrypoint.missing-user-entrypoint`
@droguljic droguljic force-pushed the fix/docker-entrypoint-final-stage branch from 4f2cd61 to eaa2718 Compare June 5, 2025 13:41
@droguljic droguljic requested review from MiroDojkic and mbareta June 5, 2025 13:42
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