mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-10 02:12:27 +01:00
Modifying docker file
This commit is contained in:
parent
3aa48e9eda
commit
88df4e4eed
1 changed files with 0 additions and 14 deletions
14
Dockerfile
14
Dockerfile
|
|
@ -180,17 +180,3 @@ RUN apt -y remove thunar
|
|||
# Copy files
|
||||
COPY rootfs /
|
||||
RUN rm -rf /workspace/*
|
||||
|
||||
|
||||
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
|
||||
CMD /bin/bash
|
||||
|
||||
RUN bash /cloud9/user-install.sh
|
||||
|
||||
user root
|
||||
Loading…
Reference in a new issue