Reorganize Dockerfile, add a make target for images. (#48)
This commit is contained in:
parent
08251159cd
commit
d9c31044b9
4
Makefile
4
Makefile
|
|
@ -48,3 +48,7 @@ test: out/executor out/kbuild
|
|||
.PHONY: integration-test
|
||||
integration-test: out/executor out/kbuild
|
||||
@ ./integration-test.sh
|
||||
|
||||
.PHONY: images
|
||||
images: out/executor out/kbuild
|
||||
docker build -t $(REGISTRY)/executor:latest -f deploy/Dockerfile .
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
|
|
@ -116,7 +117,7 @@ func main() {
|
|||
// Build executor image
|
||||
buildExecutorImage := step{
|
||||
Name: dockerImage,
|
||||
Args: []string{"build", "-t", executorImage, "-f", "integration_tests/executor/Dockerfile", "."},
|
||||
Args: []string{"build", "-t", executorImage, "-f", "deploy/Dockerfile", "."},
|
||||
}
|
||||
y := testyaml{
|
||||
Steps: []step{containerDiffStep, containerDiffPermissions, structureTestsStep, structureTestPermissions, buildExecutorImage},
|
||||
|
|
|
|||
Loading…
Reference in New Issue