diff --git a/docker/docker_adduser.sh b/docker/docker_adduser.sh index 136a703..473aeda 100755 --- a/docker/docker_adduser.sh +++ b/docker/docker_adduser.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash addgroup --gid "$DOCKER_GRP_ID" "$DOCKER_GRP" -adduser --disabled-password --force-badname --gecos '' "$DOCKER_USER" \ - --uid "$DOCKER_USER_ID" --gid "$DOCKER_GRP_ID" 2>/dev/null +adduser --disabled-password --force-badname --gecos '' "$DOCKER_USER" usermod -aG sudo "$DOCKER_USER" echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers cp -r /etc/skel/. /home/${DOCKER_USER}