Skip to content

Commit

Permalink
Merge pull request #92 from infosiftr/oci-import-stagefroms
Browse files Browse the repository at this point in the history
Fix `ArchLastStageFrom` with `oci-import` builder
  • Loading branch information
yosifkit authored Feb 3, 2024
2 parents 5152c0d + 2ff16d5 commit ca06476
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/bashbrew/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ var dockerfileMetadataCache = map[string]*dockerfileMetadata{}
func (r Repo) archDockerfileMetadata(arch string, entry *manifest.Manifest2822Entry) (*dockerfileMetadata, error) {
if builder := entry.ArchBuilder(arch); builder == "oci-import" {
return &dockerfileMetadata{
StageFroms: []string{
"scratch",
},
Froms: []string{
"scratch",
},
Expand Down

0 comments on commit ca06476

Please sign in to comment.