aboutsummaryrefslogtreecommitdiff
path: root/docker/base-5.0.3
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2017-07-12 09:46:32 +0300
committerChristian Höltje <docwhat@gerf.org>2017-07-12 10:25:48 +0300
commit2f808f8a4e6224478e1c9efb85c1a4b3f24df087 (patch)
treec85a348791ba5bc6f1213924d564e1cb766f54f4 /docker/base-5.0.3
parentdf318488c9bad0fae2e38c8fd57afaade295f135 (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.0.3')
-rw-r--r--docker/base-5.0.3/Dockerfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/docker/base-5.0.3/Dockerfile b/docker/base-5.0.3/Dockerfile
new file mode 100644
index 00000000..e0b6c6c3
--- /dev/null
+++ b/docker/base-5.0.3/Dockerfile
@@ -0,0 +1,33 @@
+FROM ubuntu:14.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 \
+ node \
+ ruby \
+ python \
+ python-virtualenv
+
+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"]