Skip to content

Commit

Permalink
Make dockerfile generators abstract
Browse files Browse the repository at this point in the history
* This allows us to add a fast build dockerfile
generator that we can sub out based on the fast
build flag.
  • Loading branch information
8W9aG committed Dec 11, 2024
1 parent 7256462 commit 3e082cb
Show file tree
Hide file tree
Showing 5 changed files with 732 additions and 700 deletions.
2 changes: 1 addition & 1 deletion pkg/dockerfile/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (g *BaseImageGenerator) GenerateDockerfile() (string, error) {
return "", err
}
useCogBaseImage := false
generator.useCogBaseImage = &useCogBaseImage
generator.SetUseCogBaseImagePtr(&useCogBaseImage)

dockerfile, err := generator.generateInitialSteps()
if err != nil {
Expand Down
Loading

0 comments on commit 3e082cb

Please sign in to comment.