simplifying the dockerfile somewhat and a quick readme fix.
This commit is contained in:
parent
8bdcc25022
commit
68a65cf8f9
2 changed files with 8 additions and 8 deletions
14
Dockerfile
14
Dockerfile
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue