From 81c841844d52f65c91df6b1a04e331173b766ca4 Mon Sep 17 00:00:00 2001 From: Tiexin Guo Date: Tue, 6 Mar 2018 23:27:50 +0200 Subject: [PATCH] add alpine --- lib/kitchen/driver/docker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kitchen/driver/docker.rb b/lib/kitchen/driver/docker.rb index fc5fd859..4e08a7f5 100644 --- a/lib/kitchen/driver/docker.rb +++ b/lib/kitchen/driver/docker.rb @@ -274,7 +274,7 @@ def build_dockerfile when 'alpine' user = <<-eos RUN if ! getent passwd #{username}; then \ - adduser -g "kitchen user" -h #{homedir} -s /bin/ash #{username} && usermod -p * #{username}; \ + adduser -g "kitchen user" -h #{homedir} -s /bin/ash -D #{username} && usermod -p '*' #{username}; \ fi eos else