Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
fix builder image and dependencies order
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rad committed May 13, 2016
1 parent 5144dd4 commit 9309157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin-dgr/aci-build.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ func (aci *Aci) prepareStage1aci() (string, error) {
return "", errs.WithEF(err, aci.fields.WithField("content", manifestStr), "Failed to unmarshal stage1 manifest received from rkt")
}

manifest.Dependencies = types.Dependencies{}
dep, err := common.ToAppcDependencies(aci.manifest.Builder.Dependencies)
if err != nil {
return "", errs.WithEF(err, aci.fields, "Invalid dependency on stage1 for rkt")
}
manifest.Dependencies = append(manifest.Dependencies, dep...)

manifest.Dependencies = types.Dependencies{}
stage1Image, err := common.ToAppcDependencies([]common.ACFullname{aci.manifest.Builder.Image})
if err != nil {
return "", errs.WithEF(err, aci.fields, "Invalid image on stage1 for rkt")
Expand Down

0 comments on commit 9309157

Please sign in to comment.