dockertools/Dockerfile

22 lines
462 B
Text
Raw Normal View History

FROM fedora:rawhide
RUN dnf install -y zsh git vim tmux stow && dnf clean all
RUN mkdir /tmp/home && \
useradd amdavidson -s /usr/bin/zsh -m -k /tmp/home && \
rm -r /tmp/home
USER amdavidson
WORKDIR /home/amdavidson
RUN git clone https://github.com/amdavidson/dotfiles.git /home/amdavidson/.dotfiles && \
cd /home/amdavidson/.dotfiles && \
stow -t /home/amdavidson zsh git vim tmux
2019-05-23 13:47:23 +00:00
RUN vim +"PlugInstall --sync" +qa
CMD ["/usr/bin/zsh"]