initial commit of dockertools repository
This commit is contained in:
commit
8bdcc25022
2 changed files with 30 additions and 0 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
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 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
|
||||
|
||||
CMD ["/usr/bin/zsh"]
|
||||
|
||||
|
||||
|
11
README.md
Normal file
11
README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# 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.
|
||||
|
||||
## Running Docker Tools
|
||||
|
||||
To enter the environment run:
|
||||
|
||||
docker run --rm -it amdavidson/dockertools:latest
|
||||
|
||||
If you are looking to edit files from another container it might be useful to add `--volumes-from other_container` to the run command
|
Loading…
Reference in a new issue