mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user