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 0780dd5 commit 9080f90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/kitchen/driver/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +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 #{username} && usermod -p * #{username}; \
fi
eos
else
Expand Down

0 comments on commit 9080f90

Please sign in to comment.