mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-12 18:45:38 +00:00
Remove output formats from the Yaml file, put in CLI
This removes outputs from yaml, instead you can do ``` moby build -output tar -output qcow2 file.yaml ``` or alternative syntax ``` moby build -output tar,qcow2 file.yaml ``` In future we may change this to be available in a `moby package` step, but lets try this for now. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
func TestOverrides(t *testing.T) {
|
||||
var yamlCaps = []string{"CAP_SYS_ADMIN"}
|
||||
|
||||
var yaml MobyImage = MobyImage{
|
||||
var yaml = MobyImage{
|
||||
Name: "test",
|
||||
Image: "testimage",
|
||||
Capabilities: &yamlCaps,
|
||||
@@ -20,7 +20,7 @@ func TestOverrides(t *testing.T) {
|
||||
|
||||
var labelCaps = []string{"CAP_SYS_CHROOT"}
|
||||
|
||||
var label MobyImage = MobyImage{
|
||||
var label = MobyImage{
|
||||
Capabilities: &labelCaps,
|
||||
Cwd: "/label/directory",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user