This commit is contained in:
Jackson Delahunt 2019-02-14 01:19:14 +11:00
parent db14372ff3
commit 4034845e11
2 changed files with 5 additions and 0 deletions

View file

@ -106,6 +106,8 @@ RUN cp /$BASE_USER/home/.zshrc $HOME
# Remove base user files
RUN rm -rf $BASE_USER
ARG DESKTOP_ENVIRONMENT_GITHUB_TOKEN
# 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 && \
@ -113,6 +115,8 @@ RUN vcsh clone https://github.com/sabrehagen/dotfiles-alacritty && \
vcsh clone https://github.com/sabrehagen/dotfiles-code && \
vcsh clone https://github.com/sabrehagen/dotfiles-musikcube && \
vcsh clone https://github.com/sabrehagen/dotfiles-scripts && \
vcsh clone https://${DESKTOP_ENVIRONMENT_GITHUB_TOKEN}@github.com/sabrehagen/dotfiles-stemn && \
vcsh clone https://${DESKTOP_ENVIRONMENT_GITHUB_TOKEN}@github.com/sabrehagen/dotfiles-ssh && \
vcsh clone https://github.com/sabrehagen/dotfiles-vlc && \
vcsh clone https://github.com/sabrehagen/dotfiles-zsh

View file

@ -7,6 +7,7 @@ DESKTOP_ENVIRONMENT_REGISTRY=sabrehagen
# Desktop environment configuration
echo DESKTOP_ENVIRONMENT_CONTAINER=$DESKTOP_ENVIRONMENT_CONTAINER
echo DESKTOP_ENVIRONMENT_GITHUB_TOKEN=$DESKTOP_ENVIRONMENT_GITHUB_TOKEN
echo DESKTOP_ENVIRONMENT_HOME=$DESKTOP_ENVIRONMENT_HOME
echo DESKTOP_ENVIRONMENT_USER=$DESKTOP_ENVIRONMENT_USER
echo DESKTOP_ENVIRONMENT_REGISTRY=$DESKTOP_ENVIRONMENT_REGISTRY