diff options
Diffstat (limited to 'Containerfile')
-rw-r--r-- | Containerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile new file mode 100644 index 000000000000..cf0541aadd70 --- /dev/null +++ b/Containerfile @@ -0,0 +1,11 @@ +FROM registry.hub.docker.com/library/archlinux:latest +RUN pacman -Sy zsh git rsync sudo fakeroot patch vim --noconfirm +RUN useradd -ms /usr/bin/zsh work && \ + usermod -aG wheel work +RUN echo '%wheel ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers +RUN mkdir -p /home/work/ && touch /home/work/.zshrc +WORKDIR /home/work/ +COPY zsh-zim-git-* /home/work +RUN chown -R work:work /home/work/ +USER work +CMD /usr/bin/zsh |