add cloudcmd

This commit is contained in:
Vivian Lim 2019-12-30 23:20:49 -08:00
parent 588ed7dba1
commit 9e2e4c1242
2 changed files with 8 additions and 1 deletions

View File

@ -36,7 +36,7 @@ RUN pacman -Syu --noconfirm \
# some more packages
RUN pacman -Sy --noconfirm \
&& pacman -S base iputils ffmpeg imagemagick sshfs inotify inotify-tools wget dnsutils youtube-dl --noconfirm \
&& pacman -S base iputils ffmpeg imagemagick sshfs inotify-tools wget dnsutils youtube-dl --noconfirm \
# clean cache
&& pacman -Scc --noconfirm
@ -54,6 +54,10 @@ RUN rm /home/vivlim/.zshrc
RUN pacman --noconfirm -Sy npm python-pipenv elixir \
&& pacman -Scc --noconfirm
RUN npm install -g cloudcmd
# installing gritty requires root
RUN npm install -g gritty --unsafe
COPY launch.sh /launch.sh
COPY user_launch.sh /user_launch.sh

View File

@ -27,3 +27,6 @@ if [ $? == 0 ]; then
echo "No password is set. You will be prompted for one when you connect."
tmux send-keys -t 1 "passwd vivlim" C-m
fi
# start cloudcmd
cloudcmd --terminal --terminal-path `gritty --path` &