clone-fix

This commit is contained in:
Jackson Delahunt 2020-09-28 08:04:25 +10:00
parent 2026bc5b21
commit a99d9dbd7c

View file

@ -425,7 +425,7 @@ ARG DOTFILES_CACHEBUST
RUN DOTFILES_CACHEBUST=$DOTFILES_CACHEBUST echo "Building from dotfiles..."
# Clone user dotfiles or fallback to sabrehagen dotfiles
RUN vcsh clone https://github.com/$DESKTOP_ENVIRONMENT_USER/dotfiles.git || \
RUN git ls-remote git@github.com:$DESKTOP_ENVIRONMENT_USER/dotfiles.git && vcsh clone https://github.com/$DESKTOP_ENVIRONMENT_USER/dotfiles.git || \
vcsh clone https://github.com/sabrehagen/dotfiles.git && $HOME/.dotfiles-bootstrap.sh
# Record container build information