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-5.1.1 | |
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-5.1.1')
-rw-r--r-- | docker/base-5.1.1/Dockerfile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docker/base-5.1.1/Dockerfile b/docker/base-5.1.1/Dockerfile new file mode 100644 index 00000000..a7f644bf --- /dev/null +++ b/docker/base-5.1.1/Dockerfile @@ -0,0 +1,35 @@ +FROM ubuntu:16.04 + +RUN \ + apt-get update && \ + echo 'golang-go golang-go/dashboard boolean false' | debconf-set-selections && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y \ + curl \ + git \ + zsh \ + mercurial \ + subversion \ + golang \ + jq \ + nodejs \ + ruby \ + python \ + python-virtualenv \ + sudo \ + locales + +RUN adduser --shell /bin/zsh --gecos 'fred' --disabled-password fred +RUN locale-gen "en_US.UTF-8" + +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"] |