barrel: Use default value for base image

This commit is contained in:
Tom Wiesing 2023-06-30 12:34:51 +02:00
parent 5a85494194
commit 154f9a93ea
No known key found for this signature in database
6 changed files with 38 additions and 33 deletions

View file

@ -13,7 +13,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/mstore"
)
// Build builds or rebuilds the barel connected to this instance.
// Build builds or rebuilds the barrel connected to this instance.
//
// It also logs the current time into the metadata belonging to this instance.
func (barrel *Barrel) Build(ctx context.Context, progress io.Writer, start bool) error {

View file

@ -32,7 +32,7 @@ func (barrel *Barrel) Stack() component.StackWithResources {
"DATA_PATH": filepath.Join(barrel.FilesystemBase, "data"),
"RUNTIME_DIR": barrel.Malt.Config.Paths.RuntimeDir(),
"BARREL_BASE_IMAGE": barrel.DockerBaseImage,
"BARREL_BASE_IMAGE": barrel.GetDockerBaseImage(),
},
MakeDirs: []string{"data", ".composer"},