Skip to content

Commit

Permalink
e2e: Expand useradd's -m otion into --create-home
Browse files Browse the repository at this point in the history
... for improved readability

Signed-off-by: Ian Campbell <[email protected]>
  • Loading branch information
Ian Campbell committed Mar 11, 2019
1 parent 5de2d9e commit e854a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/testdata/Dockerfile.connhelper-ssh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM docker:test-dind
RUN apk --no-cache add shadow openssh-server && \
groupadd -f docker && \
useradd -m --shell /bin/sh penguin && \
useradd --create-home --shell /bin/sh penguin && \
usermod -aG docker penguin && \
usermod -p $(head -c32 /dev/urandom | base64) penguin && \
ssh-keygen -A
Expand Down

0 comments on commit e854a9c

Please sign in to comment.