mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
Now all invocations have following order of arguments (if present): addgroup -S -g ... GROUP adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
6 lines
172 B
Bash
6 lines
172 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S docker-registry 2>/dev/null
|
|
adduser -S -D -H -h /dev/null -s /sbin/nologin -G docker-registry -g docker-registry docker-registry 2>/dev/null
|
|
|
|
exit 0
|