Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Nov 25, 2024
1 parent 19177d6 commit 2062787
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/console/libssh.pm
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ EOT
}
#Build an custom image with openssh curl libvirt-client sshpass
assert_script_run("mkdir /tmp/build && cd /tmp/build");
assert_script_run('echo DOCKER_SUSE_SECRETS_ENABLE="1" >> /etc/sysconfig/docker');
script_output('cat /etc/sysconfig/docker');
type_string("cat > /tmp/build/Dockerfile <<'END'\n$dockerfile\nEND\n( exit \$?)\n\n");
assert_script_run(qq(docker build -t libssh_image --build-arg tag="$tag" --build-arg pkgs="$pkgs" .), timeout => 600);
}
Expand Down

0 comments on commit 2062787

Please sign in to comment.