mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
Merge branch 'release' into Fixes-and-Modular-changes
This commit is contained in:
commit
60555910fc
2 changed files with 19 additions and 1 deletions
13
Dockerfile
13
Dockerfile
|
|
@ -189,3 +189,16 @@ RUN ln -sf /etc/osmosis/bin/osmosis /bin
|
|||
RUN apt -y install osmctools
|
||||
|
||||
#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
|
||||
|
|
@ -103,7 +103,12 @@ fi
|
|||
#rm -rf $HOME/.c9
|
||||
#mkdir -p /workspace/.c9
|
||||
#chown $USER:$USER /workspace/.c9
|
||||
sudo -H -u $USER bash -c 'bash /cloud9/user-install.sh' 2>&1> /home/$USER/.cloud9-install.log &
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#sudo -H -u $USER bash -c 'bash /cloud9/user-install.sh' 2>&1> /home/$USER/.cloud9-install.log &
|
||||
|
||||
# Only for testing while editing the menu
|
||||
#chown $USER /usr/share/applications/
|
||||
|
|
|
|||
Loading…
Reference in a new issue