Skip to content

Commit

Permalink
Fix: append instead of overwrite parsed build steps (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
dleviminzi authored Nov 1, 2024
1 parent f0fd4a6 commit 43f9149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/abstractions/image/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (b *Builder) Build(ctx context.Context, opts *BuildOpts, outputChan chan co
}

// Generate the commands to run in the container
opts.Commands = parseBuildSteps(opts.BuildSteps, opts.PythonVersion)
opts.Commands = append(parseBuildSteps(opts.BuildSteps, opts.PythonVersion), opts.Commands...)

for _, cmd := range opts.Commands {
if cmd == "" {
Expand Down

0 comments on commit 43f9149

Please sign in to comment.