mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-23 07:53:08 +01:00
Fixes paths in Dockerfile
This commit is contained in:
parent
46c36a5a78
commit
1ac51f5d8d
10
Dockerfile
10
Dockerfile
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user