test-in-docker: Support for multiple ZSH versions
-z --zsh can specify one of the versions of ZSH we can get from centos and ubuntu
This commit is contained in:
parent
df318488c9
commit
2f808f8a4e
17 changed files with 266 additions and 68 deletions
31
docker/base-4.3.11/Dockerfile
Normal file
31
docker/base-4.3.11/Dockerfile
Normal file
|
@ -0,0 +1,31 @@
|
|||
FROM centos:6
|
||||
|
||||
RUN \
|
||||
yum install -y \
|
||||
curl \
|
||||
git \
|
||||
zsh \
|
||||
mercurial \
|
||||
subversion \
|
||||
golang \
|
||||
jq \
|
||||
node \
|
||||
ruby \
|
||||
python \
|
||||
python-virtualenv \
|
||||
sudo
|
||||
|
||||
RUN adduser --shell /bin/zsh --comment 'fred' --user-group fred
|
||||
|
||||
COPY docker/fred-sudoers /etc/sudoers.d/fred
|
||||
|
||||
USER fred
|
||||
WORKDIR /home/fred
|
||||
ENV LANG=en_US.UTF-8
|
||||
ENV TERM=xterm-256color
|
||||
ENV DEFAULT_USER=fred
|
||||
ENV POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true
|
||||
|
||||
RUN touch .zshrc
|
||||
|
||||
CMD ["/bin/zsh", "-l"]
|
Loading…
Add table
Add a link
Reference in a new issue