Fixes paths in Dockerfile

This commit is contained in:
Alicia Sykes 2022-11-17 12:58:32 +00:00
parent 46c36a5a78
commit 1ac51f5d8d

View File

@ -50,18 +50,18 @@ RUN \
COPY ./ /home/${user}/.userspace/ COPY ./ /home/${user}/.userspace/
ENV DOTFILES_DIR="/home/${user}/.dotfiles"
RUN \ RUN \
git clone --recursive https://${vcsprovider}/${vcsowner}/${dotfiles} /home/${user}/.dotfiles && \ git clone --recursive https://${vcsprovider}/${vcsowner}/${dotfiles} ${DOTFILES_DIR} && \
chown -R ${user}:${group} /home/${user}/.dotfiles && \ chown -R ${user}:${group} /home/${user}/.dotfiles && \
chown -R ${user}:${group} /home/${user}/.userspace chown -R ${user}:${group} /home/${user}/.userspace
ENV DOTFILES_DIR="$HOME/.dotfiles" RUN chmod u+x "${DOTFILES_DIR}/install.sh"
RUN chmod u+x /home/${user}/.dotfiles/install.sh
USER ${user} USER ${user}
RUN cd $HOME/.dotfiles && ./install.sh --auto-yes RUN cd $DOTFILES_DIR && $DOTFILES_DIR/install.sh --auto-yes
ENV HISTFILE=/home/${user}/.cache/.zsh_history ENV HISTFILE=/home/${user}/.cache/.zsh_history