Fixed user

This commit is contained in:
Devin Dice 2022-12-21 13:17:03 -05:00
parent 224cdd4d78
commit 76f3040bc3

View file

@ -179,9 +179,10 @@ COPY rootfs /
RUN rm -rf /workspace/*
RUN useradd -u 99 -G sudo -ms /bin/bash ubuntu
RUN useradd -d /home/ubuntu -u 99 -G sudo -ms /bin/bash ubuntu
#RUN adduser ubuntu sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN chown ubuntu:ubuntu /home/ubuntu
# Install from user (not doing)
USER ubuntu