diff options
author | Christian Höltje <docwhat@gerf.org> | 2017-07-12 09:46:32 +0300 |
---|---|---|
committer | Christian Höltje <docwhat@gerf.org> | 2017-07-12 10:25:48 +0300 |
commit | 2f808f8a4e6224478e1c9efb85c1a4b3f24df087 (patch) | |
tree | c85a348791ba5bc6f1213924d564e1cb766f54f4 /docker/base-4.3.11 | |
parent | df318488c9bad0fae2e38c8fd57afaade295f135 (diff) |
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
Diffstat (limited to 'docker/base-4.3.11')
-rw-r--r-- | docker/base-4.3.11/Dockerfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docker/base-4.3.11/Dockerfile b/docker/base-4.3.11/Dockerfile new file mode 100644 index 00000000..805a7ae1 --- /dev/null +++ b/docker/base-4.3.11/Dockerfile @@ -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"] |