Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn when the user provides volume mounts with sensitive targets when building images #41643

Closed
scottfrederick opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@scottfrederick
Copy link
Contributor

Users can provide optional bindings in the Maven spring-boot:build-image and Gradle bootBuildImage configuration. There are a few directories that are used by buildpacks during the image building process, and using these directories as the container destination path of a binding can cause problems that are difficult to diagnose. These directories include /cnb, /layers, and /workspace (or c:\cnb, c:\layers, and c:\workspace when building on Windows).

The plugins should warn the user if any of these directories is used as the destination path in a binding.

@scottfrederick scottfrederick added the type: enhancement A general enhancement label Jul 29, 2024
@scottfrederick scottfrederick added this to the 3.x milestone Jul 29, 2024
@mhalbritter mhalbritter self-assigned this Oct 14, 2024
@mhalbritter mhalbritter modified the milestones: 3.x, 3.4.0-RC1 Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants