New features
This commit is contained in:
parent
356dd29a2c
commit
d9aecc9b8d
|
|
@ -99,7 +99,7 @@ RUN apt update \
|
||||||
RUN git clone https://github.com/c9/core.git /cloud9/c9sdk
|
RUN git clone https://github.com/c9/core.git /cloud9/c9sdk
|
||||||
#RUN mkdir -p /cloud9/c9sdk/build /workspace/.ubuntu/.standalone
|
#RUN mkdir -p /cloud9/c9sdk/build /workspace/.ubuntu/.standalone
|
||||||
#RUN ln -sf /workspace/.ubuntu/.standalone /cloud9/c9sdk/build/standalone
|
#RUN ln -sf /workspace/.ubuntu/.standalone /cloud9/c9sdk/build/standalone
|
||||||
RUN /cloud9/c9sdk/scripts/install-sdk.sh
|
#RUN /cloud9/c9sdk/scripts/install-sdk.sh
|
||||||
RUN cd /cloud9/c9sdk && git reset --hard
|
RUN cd /cloud9/c9sdk && git reset --hard
|
||||||
RUN wget -O user-install.sh https://raw.githubusercontent.com/c9/install/master/install.sh && mv user-install.sh /cloud9/
|
RUN wget -O user-install.sh https://raw.githubusercontent.com/c9/install/master/install.sh && mv user-install.sh /cloud9/
|
||||||
|
|
||||||
|
|
@ -182,10 +182,6 @@ RUN apt -y remove thunar
|
||||||
# Copy files
|
# Copy files
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
# Extras
|
|
||||||
RUN apt -y install osmctools osmosis whiptail
|
|
||||||
RUN systemctl disable systemd-resolved
|
|
||||||
|
|
||||||
#RUN rm -rf /workspace/*
|
#RUN rm -rf /workspace/*
|
||||||
|
|
||||||
RUN useradd -d /home/ubuntu -u 99 -G sudo -ms /bin/bash ubuntu
|
RUN useradd -d /home/ubuntu -u 99 -G sudo -ms /bin/bash ubuntu
|
||||||
|
|
|
||||||
|
|
@ -33,3 +33,9 @@ libreoffice
|
||||||
pinta
|
pinta
|
||||||
firefox
|
firefox
|
||||||
#chrome?
|
#chrome?
|
||||||
|
ansible
|
||||||
|
terraform
|
||||||
|
golang
|
||||||
|
whiptail
|
||||||
|
osmctools
|
||||||
|
osmosis
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
DESKTOP=Desktop
|
DESKTOP=Desktop
|
||||||
DOWNLOAD=Downloads
|
DOWNLOAD=Downloads
|
||||||
#TEMPLATES=Workspace
|
#TEMPLATES=Workspace
|
||||||
PUBLICSHARE=Workspace/%FILE_SHARE%
|
#PUBLICSHARE=Workspace/%FILE_SHARE%
|
||||||
DOCUMENTS=Workspace
|
DOCUMENTS=Workspace
|
||||||
#MUSIC="$HOME"
|
#MUSIC="$HOME"
|
||||||
#PICTURES="$HOME"
|
#PICTURES="$HOME"
|
||||||
|
|
|
||||||
|
|
@ -161,5 +161,11 @@ if [ -n "$SEARCHDOMAIN" ]; then
|
||||||
echo "search $SEARCHDOMAIN" >> /etc/resolv.conf
|
echo "search $SEARCHDOMAIN" >> /etc/resolv.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$AFTERINSTALL" ]; then
|
||||||
|
if [ -d "/etc/config" ]; then
|
||||||
|
bash /etc/config/$AFTERINSTALL
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
chown -R $USER:$USER /home/$USER
|
chown -R $USER:$USER /home/$USER
|
||||||
exec /bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf
|
exec /bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue