Skip to content

Commit

Permalink
[container] Fix unavailable alias
Browse files Browse the repository at this point in the history
  • Loading branch information
matsp committed Feb 29, 2024
1 parent cf6353e commit 55bc488
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .arch/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ ENV DOTFILES_CONTAINER=1


RUN git clone --bare https://github.com/matsp/dotfiles.git $HOME/.dotfiles \
&& alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"' \
&& dotfiles checkout \
&& dotfiles config --local status.showUntrackedFiles no \
&& dotfiles submodule update --init --recursive
&& git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME" checkout \
&& git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME" config --local status.showUntrackedFiles no \
&& git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME" submodule update --init --recursive

# start bootstrapping
RUN /usr/bin/zsh -c "source ~/.zshrc"
Expand Down

0 comments on commit 55bc488

Please sign in to comment.