mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
no-root
This commit is contained in:
parent
a56b5bb58e
commit
eb3b0c3bf5
15 changed files with 7 additions and 37 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/execlineb -P
|
||||
|
||||
# Start ssh keychain as jackson
|
||||
gosu jackson keychain
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/execlineb -P
|
||||
|
||||
# Start rescuetime as jackson
|
||||
# gosu jackson rescuetime
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/execlineb -P
|
||||
|
||||
# Start tmux server as jackson
|
||||
gosu jackson tmux new-session -s desktop-environment
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/execlineb -P
|
||||
|
||||
# Start gotty-clients tmux session as jackson
|
||||
gosu jackson tmux new-session -s gotty-clients
|
||||
|
|
@ -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
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/execlineb -P
|
||||
|
||||
# Start webrelay tunnel as jackson
|
||||
gosu jackson relay connect -s $HOSTNAME --crypto full http://localhost:8022
|
||||
Loading…
Add table
Reference in a new issue