From 2062787f999cd799871d613e9d8bec6bd448a427 Mon Sep 17 00:00:00 2001 From: Jozef Pupava Date: Mon, 25 Nov 2024 08:16:35 +0100 Subject: [PATCH] docker --- tests/console/libssh.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/console/libssh.pm b/tests/console/libssh.pm index fac598cf26af..e8c9aac1fbaf 100644 --- a/tests/console/libssh.pm +++ b/tests/console/libssh.pm @@ -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); }