Refine ddev config
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
ARG BASE_IMAGE
|
||||
FROM $BASE_IMAGE
|
||||
|
||||
ARG username
|
||||
ARG uid
|
||||
ARG gid
|
||||
RUN (groupadd --gid $gid "$username" || groupadd "$username" || true) && (useradd -l -m -s "/bin/bash" --gid "$username" --comment '' --uid $uid "$username" || useradd -l -m -s "/bin/bash" --gid "$username" --comment '' "$username")
|
||||
|
||||
Reference in New Issue
Block a user