aboutsummaryrefslogtreecommitdiff
path: root/docker/base-5.4.2
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-08-06 01:27:50 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-08-06 01:27:50 +0300
commite027a8510df34dbee0eab690532c89ca1758c134 (patch)
tree76fa09d02031baddad9ac17573723ca087cd5d52 /docker/base-5.4.2
parent3b8f0abdb27fa1628e7016a93805f96d6a215653 (diff)
parent4178240b2493115641c8cd204266e6d3d593af6b (diff)
Merge remote-tracking branch 'docwhat/pr/fix-test-in-docker-on-newer-zsh' into prepare_066
Diffstat (limited to 'docker/base-5.4.2')
-rw-r--r--docker/base-5.4.2/Dockerfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/docker/base-5.4.2/Dockerfile b/docker/base-5.4.2/Dockerfile
new file mode 100644
index 00000000..8984c105
--- /dev/null
+++ b/docker/base-5.4.2/Dockerfile
@@ -0,0 +1,35 @@
+FROM ubuntu:18.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=5.4.2-3ubuntu3 \
+ 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"]