mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-28 20:53:16 +10:00
Merge branch 'master' of github.com:sabrehagen/desktop-environment
This commit is contained in:
commit
67cec70f34
4 changed files with 27 additions and 20 deletions
31
Dockerfile
31
Dockerfile
|
|
@ -25,14 +25,15 @@ RUN usermod \
|
|||
$BASE_USER
|
||||
|
||||
# Install user utilities
|
||||
RUN apt install --yes \
|
||||
software-properties-common \
|
||||
RUN apt-get install -qq \
|
||||
strace \
|
||||
vcsh \
|
||||
vlc \
|
||||
xinput
|
||||
xinput \
|
||||
youtube-dl
|
||||
|
||||
# Install chrome
|
||||
RUN apt update && apt install --yes \
|
||||
RUN apt-get update -qq && apt-get install -qq \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
gnupg \
|
||||
|
|
@ -47,7 +48,7 @@ RUN apt update && apt install --yes \
|
|||
--no-install-recommends && \
|
||||
curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
|
||||
echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \
|
||||
apt update && apt install --yes \
|
||||
apt-get update -qq && apt-get install -qq \
|
||||
google-chrome-stable \
|
||||
--no-install-recommends && \
|
||||
rm /etc/apt/sources.list.d/google.list && \
|
||||
|
|
@ -59,15 +60,25 @@ RUN groupadd --system chrome && \
|
|||
|
||||
# Install vs code
|
||||
RUN echo 'deb http://au.archive.ubuntu.com/ubuntu/ xenial main restricted universe' > /etc/apt/sources.list && \
|
||||
apt update && \
|
||||
apt-get update -qq && \
|
||||
wget -O code.deb -nv https://go.microsoft.com/fwlink/?LinkID=760868 && \
|
||||
apt install --yes ./code.deb && \
|
||||
apt-get install -qq ./code.deb && \
|
||||
rm code.deb && \
|
||||
apt install --yes libicu[0-9][0-9] libkrb5-3 zlib1g libsecret-1-0 desktop-file-utils x11-utils # vs live share dependencies
|
||||
apt-get install -qq libicu[0-9][0-9] libkrb5-3 zlib1g libsecret-1-0 desktop-file-utils x11-utils # vs live share dependencies
|
||||
|
||||
# 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 && \
|
||||
rm musikcube.deb
|
||||
|
||||
# Install peek screen recorder
|
||||
RUN add-apt-repository ppa:peek-developers/daily && \
|
||||
apt-get update -qq && \
|
||||
apt-get install -qq peek
|
||||
|
||||
# Install resucetime time tracker
|
||||
RUN wget -O rescuetime.deb -nv https://www.rescuetime.com/installers/rescuetime_current_amd64.deb && \
|
||||
dpkg -i rescuetime.deb || apt --fix-broken --yes install && \
|
||||
dpkg -i rescuetime.deb || apt-get install -qq --fix-broken && \
|
||||
rm rescuetime.deb
|
||||
|
||||
# Enable password-less sudo for user
|
||||
|
|
@ -91,7 +102,7 @@ USER $USER
|
|||
WORKDIR $HOME
|
||||
|
||||
# Keep existing user configuration files
|
||||
RUN zsh -c "cp -r /$BASE_USER/home/{.gitconfig,.motd,.tmux.conf,.zshenv,.zshrc} $HOME"
|
||||
RUN zsh -c "cp -r /$BASE_USER/home/{.gitconfig,.motd,.tmux.conf,.zlogin,.zshenv,.zshrc} $HOME"
|
||||
|
||||
# Clone dotfiles configuration
|
||||
RUN alias https-to-git="sed 's;https://github.com/\(.*\);git@github.com:\1.git;'"
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
name: dashboard
|
||||
pre_window: clear
|
||||
root: /jackson/home
|
||||
|
||||
windows:
|
||||
- terminal:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- zsh
|
||||
- zsh
|
||||
5
scripts/kill-all.sh
Executable file
5
scripts/kill-all.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
# Remove all non desktop-environment containers
|
||||
docker ps -a | \
|
||||
grep -v desktop-environment | \
|
||||
cut -b 1-20 | \
|
||||
xargs docker rm -f
|
||||
|
|
@ -7,6 +7,7 @@ export $(sh $REPO_ROOT/scripts/environment.sh)
|
|||
sh $REPO_ROOT/scripts/bootstrap-volumes.sh
|
||||
|
||||
docker run \
|
||||
--cap-add=SYS_PTRACE \
|
||||
--detach \
|
||||
--device /dev/snd \
|
||||
--device /dev/dri \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue