diff --git a/Dockerfile b/Dockerfile index 8634df6..c33c0b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/user_launch.sh b/user_launch.sh index dafd15c..a1a1450 100755 --- a/user_launch.sh +++ b/user_launch.sh @@ -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` &