-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Prevent buildpack inception style builds #24995
Prevent buildpack inception style builds #24995
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
@@ -42,6 +42,7 @@ | |||
public class BuildpackProcessor { | |||
|
|||
private static final Logger log = Logger.getLogger(BuildpackProcessor.class); | |||
private static final String IN_BUILDPACK_BUILD = "IN_BUILDPACK_BUILD"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it not make more sense to have an enabled
field in BuildpackConfig
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are right, we should use real configuration properties.
I am learning towards reusing quarkus.container-image.build=false
and quarkus.container-image.push=false
as this does not require us to introduce new properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds reasonable
951d9db
to
e79bfbe
Compare
e79bfbe
to
f167a85
Compare
Resolves: #23613
The pull request adds an environmental variable in the build, which when present prevents a nested build from taking place.