1
0

Support custom docker commands

Resolves #17
This commit is contained in:
2019-08-30 00:05:50 +00:00
parent f3b0c07af2
commit 5bad772125
5 changed files with 49 additions and 14 deletions

View File

@ -10,6 +10,11 @@ import (
"github.com/naoina/toml"
)
type DockerCommand struct {
DistroType DistroType
Command string
}
type OutOfTree struct {
Kernels string
UserKernels string
@ -23,6 +28,10 @@ type OutOfTree struct {
Docker struct {
Timeout string
Registry string
// Commands that will be executed before
// the base layer of Dockerfile
Commands []DockerCommand
}
}