forked from openshift/imagebuilder
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust argument slice size in builder
A recent update to the argument handling didn't increase the argument slice to take into the account the values from b.Args() that were now being added. The created unpredicatble results. After addressing a comment from @nalind, I realized that the value from b.Arguments should be used in the steps as it keeps the ordering of when the ARGS and ENV were defined in the Dockerfile. Changed makeUserArgs in internals.go to take two variables rather than just a builder. Adddresses the Buildah bug: containers/buildah#2345 Signed-off-by: TomSweeneyRedHat <[email protected]>
- Loading branch information
1 parent
de01fac
commit 3ccf1b9
Showing
3 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters