This commit is contained in:
Jackson Delahunt 2020-09-25 17:12:08 +10:00
parent d9b720d413
commit b055ea574d

View file

@ -426,9 +426,9 @@ WORKDIR $HOME
ARG DOTFILES_CACHEBUST
RUN DOTFILES_CACHEBUST=$DOTFILES_CACHEBUST echo "Building from dotfiles..."
# Clone user dotfiles
RUN vcsh clone https://github.com/$DESKTOP_ENVIRONMENT_USER/dotfiles.git && \
$HOME/.dotfiles-bootstrap.sh
# Clone user dotfiles or fallback to sabrehagen dotfiles
RUN 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
ARG DESKTOP_CONTAINER_GIT_SHA