1
0

feat!: prepend/append commands to dockerfile

BREAKING CHANGE: Command definition in the configuration has been changed

from

[[docker.commands]]
distro = { id = "Ubuntu" }
command = "echo runs before the base layer"

to

[[docker.commands.prepend]]
distro = { id = "Ubuntu" }
command = "echo runs before the base layer"
Этот коммит содержится в:
2024-10-06 16:11:29 +00:00
родитель cba1abc7f4
Коммит a7ecc354a9
2 изменённых файлов: 32 добавлений и 7 удалений

Просмотреть файл

@@ -35,9 +35,12 @@ type OutOfTree struct {
Timeout artifact.Duration
Registry string
// Commands that will be executed before
// the base layer of Dockerfile
Commands []distro.Command
// Commands that are executed before (prepend) and after (append) the
// base layer of the Dockerfile.
Commands struct {
Prepend []distro.Command
Append []distro.Command
}
}
}