summarylogtreecommitdiffstats
path: root/Containerfile
blob: cf0541aadd7026e2b9d0cd0dad65fd8da1335cf7 (plain)
1
2
3
4
5
6
7
8
9
10
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