simplifying the dockerfile somewhat and a quick readme fix.

This commit is contained in:
Andrew Davidson 2019-05-22 22:57:50 -04:00
parent 8bdcc25022
commit 68a65cf8f9
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6
2 changed files with 8 additions and 8 deletions

View file

@ -2,16 +2,16 @@ 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
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 && \
chown -R amdavidson /home/amdavidson
USER amdavidson
WORKDIR /home/amdavidson
stow -t /home/amdavidson zsh git vim tmux
CMD ["/usr/bin/zsh"]

View file

@ -1,6 +1,6 @@
# Docker Tools
A very simple docker container that installs a few programs and downloads my personal `.dotfiles` to allow me to run a container with a familiar environment on a foreign or temporary system.
A very simple docker container based on `fedora:rawhide` that installs a few programs and downloads my personal `.dotfiles` to allow me to run a container with a familiar environment on a foreign or temporary system.
## Running Docker Tools