aboutsummaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/base/Dockerfile')
-rw-r--r--docker/base/Dockerfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile
new file mode 100644
index 00000000..08d06254
--- /dev/null
+++ b/docker/base/Dockerfile
@@ -0,0 +1,33 @@
+FROM ubuntu:trusty
+
+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"]