Testing preinstall
This commit is contained in:
parent
34fee19084
commit
bd371deaa0
13
Dockerfile
13
Dockerfile
|
|
@ -177,3 +177,16 @@ RUN apt -y remove thunar
|
||||||
# Copy files
|
# Copy files
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
RUN rm -rf /workspace/*
|
RUN rm -rf /workspace/*
|
||||||
|
|
||||||
|
|
||||||
|
RUN useradd -u 99 -ms /bin/bash ubuntu
|
||||||
|
RUN adduser ubuntu sudo
|
||||||
|
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
|
# 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
|
#rm -rf $HOME/.c9
|
||||||
#mkdir -p /workspace/.c9
|
#mkdir -p /workspace/.c9
|
||||||
#chown $USER:$USER /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
|
# Only for testing while editing the menu
|
||||||
#chown $USER /usr/share/applications/
|
#chown $USER /usr/share/applications/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue