Docker: add batman to sudo group (#30188)

add batman to sudo group
old-commit-hash: d731c85b2e
This commit is contained in:
Justin Newberry
2023-10-05 15:53:07 -07:00
committed by GitHub
parent dd9b72292e
commit a0ccf2b577
2 changed files with 4 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ RUN cd /tmp && \
ARG USER=batman
ARG USER_UID=1000
RUN useradd -m -s /bin/bash -u $USER_UID $USER
RUN usermod -aG sudo $USER
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER $USER
ENV POETRY_VIRTUALENVS_CREATE=false