mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
user
This commit is contained in:
parent
c35cd27ed9
commit
3838d9261c
1 changed files with 23 additions and 23 deletions
|
|
@ -268,40 +268,40 @@ RUN useradd \
|
|||
# Take ownership of user's home and applications directory
|
||||
RUN chown -R $USER:$USER $HOME /opt
|
||||
|
||||
# Become desktop environment user
|
||||
USER $USER
|
||||
WORKDIR $HOME
|
||||
|
||||
# Clone dotfiles configuration
|
||||
RUN gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-alacritty.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-alpine.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-code.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-git.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-mime.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-musikcube.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-polo.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-rofi.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-rpi.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-scripts.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-ssh.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-sxhkd.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-tmux.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-weechat.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-x11.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-xdg.git & \
|
||||
gosu $USER vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-zsh.git & \
|
||||
RUN vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-alacritty.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-alpine.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-code.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-git.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-mime.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-musikcube.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-polo.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-rofi.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-rpi.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-scripts.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-ssh.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-sxhkd.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-tmux.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-weechat.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-x11.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-xdg.git & \
|
||||
vcsh clone https://sabrehagen@github.com/sabrehagen/dotfiles-zsh.git & \
|
||||
wait
|
||||
|
||||
# Cache zsh plugins
|
||||
RUN gosu $USER zsh -c "source $HOME/.zshrc"
|
||||
RUN zsh -c "source $HOME/.zshrc"
|
||||
|
||||
# Cache tmux plugins
|
||||
RUN gosu $USER zsh -c /opt/tpm/bin/install_plugins
|
||||
RUN zsh -c /opt/tpm/bin/install_plugins
|
||||
|
||||
# Configure lazygit
|
||||
RUN mkdir -p $HOME/.config/jesseduffield/lazygit && \
|
||||
echo 'reporting: "off"' > $HOME/.config/jesseduffield/lazygit/config.yml
|
||||
|
||||
# Become desktop environment user
|
||||
USER $USER
|
||||
WORKDIR $HOME
|
||||
|
||||
# Record container build information
|
||||
ARG DESKTOP_CONTAINER_BUILD_DATE
|
||||
ARG DESKTOP_CONTAINER_GIT_SHA
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue