pass --change changes to the import job

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
This commit is contained in:
Dan Walsh
2015-02-24 13:01:36 -05:00
parent 5767548fa7
commit 17abfc3ddc
8 changed files with 84 additions and 25 deletions
+6 -2
View File
@@ -205,9 +205,13 @@ func TestCommitWithHostBindMount(t *testing.T) {
func TestCommitChange(t *testing.T) {
defer deleteAllContainers()
cmd(t, "run", "--name", "test", "busybox", "true")
cmd := exec.Command(dockerBinary, "commit",
cmd := exec.Command(dockerBinary, "run", "--name", "test", "busybox", "true")
if _, err := runCommand(cmd); err != nil {
t.Fatal(err)
}
cmd = exec.Command(dockerBinary, "commit",
"--change", "EXPOSE 8080",
"--change", "ENV DEBUG true",
"test", "test-commit")