This commit is contained in:
Jackson Delahunt 2019-01-17 07:03:54 +11:00
parent 9bbb910687
commit 4fbdd4f1f0
2 changed files with 4 additions and 4 deletions

View file

@ -12,9 +12,6 @@ ENV STEMN_TMUX_SESSION desktop-environment
# Make the user's workspace directory
RUN mkdir -p $HOME
# Keep existing user configuration files
RUN zsh -c "cp -r /$BASE_USER/home/{.gitconfig,.tmux.conf,.zshenv,.zshrc} $HOME"
# Rename the first non-root group to jackson
RUN groupmod \
--new-name \
@ -91,6 +88,9 @@ ENV CONTAINER_IMAGE_NAME sabrehagen/desktop-environment
USER $USER
WORKDIR $HOME
# Keep existing user configuration files
RUN zsh -c "cp -r /$BASE_USER/home/{.gitconfig,.motd,.tmux.conf,.zshenv,.zshrc} $HOME"
# Clone dotfiles configuration
RUN alias https-to-git="sed 's;https://github.com/\(.*\);git@github.com:\1.git;'"
RUN vcsh clone https://github.com/sabrehagen/dotfiles-alacritty && \

View file

@ -1,5 +1,5 @@
# Configure tmux to always use utf8 mode and a fixed socket path
export CONTAINER_TMUX_SOCKET=$HOME/.tmux/tmux.sock
export CONTAINER_TMUX_SOCKET=$HOME/.tmux.sock
touch $CONTAINER_TMUX_SOCKET
alias tmux="tmux -u -S $CONTAINER_TMUX_SOCKET"