Skip to content

Commit

Permalink
add alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiexin Guo authored and Tiexin Guo committed Mar 6, 2018
1 parent 9080f90 commit 81c8418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/driver/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81c8418

Please sign in to comment.