2019-05-22 22:25:05 +00:00
|
|
|
FROM fedora:rawhide
|
|
|
|
|
|
|
|
RUN dnf install -y zsh git vim tmux stow && dnf clean all
|
|
|
|
|
2019-05-23 02:57:50 +00:00
|
|
|
RUN mkdir /tmp/home && \
|
|
|
|
useradd amdavidson -s /usr/bin/zsh -m -k /tmp/home && \
|
|
|
|
rm -r /tmp/home
|
2019-05-22 22:25:05 +00:00
|
|
|
|
|
|
|
USER amdavidson
|
|
|
|
WORKDIR /home/amdavidson
|
|
|
|
|
2019-05-23 02:57:50 +00:00
|
|
|
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-22 22:25:05 +00:00
|
|
|
CMD ["/usr/bin/zsh"]
|
|
|
|
|
|
|
|
|
|
|
|
|