From df318488c9bad0fae2e38c8fd57afaade295f135 Mon Sep 17 00:00:00 2001 From: Christian Höltje Date: Mon, 10 Jul 2017 18:39:55 -0400 Subject: test-in-docker: quickly test frameworks in docker This adds `./test-in-docker` for quickly playing with various frameworks. All the containers are based off Ubuntu 14.04 which has ZSH 5.0.2. Thanks to @dritter for figuring out all the framework installation methods. --- docker/base/Dockerfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker/base/Dockerfile (limited to 'docker/base') 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"] -- cgit v1.2.3