This is the line I have got -
RUN sudo adduser --shell $USERSHELLPATH --disabled-password --gecos "" $USERNAME && \ echo "$USERNAME ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/$USERNAME && \
chmod 0440 /etc/sudoers.d/USERNAME
However, I keep getting the error,
adduser: Only one or two names allowed.
--