This commit is contained in:
Jackson Delahunt 2019-07-05 10:49:32 +10:00
parent a56b5bb58e
commit eb3b0c3bf5
15 changed files with 7 additions and 37 deletions

View file

@ -158,6 +158,10 @@ RUN wget -qnv -O kind https://github.com/kubernetes-sigs/kind/releases/download/
RUN curl -fsSL https://github.com/jesseduffield/lazydocker/releases/download/v0.2.4/lazydocker_0.2.4_Linux_x86_64.tar.gz | \
tar -C /usr/local/bin -xzf -
# Install lazygit
RUN curl -fsSL https://github.com/jesseduffield/lazygit/releases/download/v0.8.1/lazygit_0.8.1_Linux_x86_64.tar.gz | \
tar -C /usr/local/bin -xzf -
# Install musikcube
RUN wget -O musikcube.deb -nv https://github.com/clangen/musikcube/releases/download/0.62.0/musikcube_0.62.0_ubuntu_cosmic_amd64.deb && \
dpkg -i musikcube.deb || apt-get install -qq --fix-broken && \
@ -277,8 +281,9 @@ RUN gosu $USER zsh -c "source $HOME/.zshrc"
# Cache tmux plugins
RUN gosu $USER zsh -c /opt/tpm/bin/install_plugins
# Add static container filesystem
COPY root /
# Configure lazygit
RUN mkdir -p $HOME/.config/jesseduffield/lazygit && \
echo 'reporting: "off"' > $HOME/.config/jesseduffield/lazygit/config.yml
# Become desktop environment user
USER $USER

View file

@ -1,4 +0,0 @@
#!/usr/bin/execlineb -P
# Start gotty server as jackson
gosu jackson gotty --permit-write --port 8022 zsh -c 'tmux new-session -s gotty-$(date +%s) -t gotty'

View file

@ -1,4 +0,0 @@
#!/usr/bin/execlineb -P
# Start ssh keychain as jackson
gosu jackson keychain

View file

@ -1,4 +0,0 @@
#!/usr/bin/execlineb -P
# Start rescuetime as jackson
# gosu jackson rescuetime

View file

@ -1,4 +0,0 @@
#!/usr/bin/execlineb -P
# Start tmux server as jackson
gosu jackson tmux new-session -s desktop-environment

View file

@ -1,4 +0,0 @@
#!/usr/bin/execlineb -P
# Start gotty-clients tmux session as jackson
gosu jackson tmux new-session -s gotty-clients

View file

@ -1,11 +0,0 @@
#!/usr/bin/execlineb -P
# Start transmission daemon as jackson
gosu jackson transmission-daemon \
--bind-address-ipv4 localhost \
--config-dir $HOME/.config/transmission \
--download-dir $HOME/torrents \
--foreground \
--no-auth \
--rpc-bind-address localhost \
--watch-dir $HOME/torrents/.watch

View file

@ -1,4 +0,0 @@
#!/usr/bin/execlineb -P
# Start webrelay tunnel as jackson
gosu jackson relay connect -s $HOSTNAME --crypto full http://localhost:8022