Skip to content

Commit 2a8069e

Browse files
author
Steve Jeong
committed
docker/common: fix add-user error.
Signed-off-by: Steve Jeong <[email protected]>
1 parent cd25862 commit 2a8069e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docker/focal/add-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://github.com/how2flow/docker_ws/example/docker.user
44
# written by steve.jeong <[email protected]>
55

6-
id=$1
6+
id="${1:-user}"
77
password="docker"
88

99
# set root password

docker/jammy/add-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://github.com/how2flow/docker_ws/example/docker.user
44
# written by steve.jeong <[email protected]>
55

6-
id=$1
6+
id="${1:-user}"
77
password="docker"
88

99
# set root password

docker/jekyll/add-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://github.com/how2flow/docker_ws/example/docker.user
44
# written by steve.jeong <[email protected]>
55

6-
id=$1
6+
id="${1:-user}"
77
password="docker"
88

99
# set root password

docker/latest/add-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://github.com/how2flow/docker_ws/example/docker.user
44
# written by steve.jeong <[email protected]>
55

6-
id=$1
6+
id="${1:-user}"
77
password="docker"
88

99
# set root password

0 commit comments

Comments
 (0)