diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/antibody/Dockerfile | 3 | ||||
-rw-r--r-- | docker/antigen/Dockerfile | 3 | ||||
-rw-r--r-- | docker/base-4.3.11/Dockerfile | 31 | ||||
-rw-r--r-- | docker/base-5.0.3/Dockerfile (renamed from docker/base/Dockerfile) | 2 | ||||
-rw-r--r-- | docker/base-5.1.1/Dockerfile | 35 | ||||
-rw-r--r-- | docker/base-5.2/Dockerfile | 35 | ||||
-rw-r--r-- | docker/dotfile/Dockerfile | 3 | ||||
-rw-r--r-- | docker/omz/Dockerfile | 3 | ||||
-rw-r--r-- | docker/prezto/Dockerfile | 3 | ||||
-rw-r--r-- | docker/zgen/Dockerfile | 3 | ||||
-rw-r--r-- | docker/zim/Dockerfile | 3 | ||||
-rw-r--r-- | docker/zplug/Dockerfile | 3 | ||||
-rw-r--r-- | docker/zplugin/Dockerfile | 3 | ||||
-rw-r--r-- | docker/zpm/Dockerfile | 3 | ||||
-rw-r--r-- | docker/zulu/Dockerfile | 3 |
15 files changed, 124 insertions, 12 deletions
diff --git a/docker/antibody/Dockerfile b/docker/antibody/Dockerfile index 9ee2e8be..84a60a89 100644 --- a/docker/antibody/Dockerfile +++ b/docker/antibody/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/antibody/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/antigen/Dockerfile b/docker/antigen/Dockerfile index 76487678..d8d0a4bc 100644 --- a/docker/antigen/Dockerfile +++ b/docker/antigen/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/antigen/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/base-4.3.11/Dockerfile b/docker/base-4.3.11/Dockerfile new file mode 100644 index 00000000..805a7ae1 --- /dev/null +++ b/docker/base-4.3.11/Dockerfile @@ -0,0 +1,31 @@ +FROM centos:6 + +RUN \ + yum install -y \ + curl \ + git \ + zsh \ + mercurial \ + subversion \ + golang \ + jq \ + node \ + ruby \ + python \ + python-virtualenv \ + sudo + +RUN adduser --shell /bin/zsh --comment 'fred' --user-group fred + +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"] diff --git a/docker/base/Dockerfile b/docker/base-5.0.3/Dockerfile index 08d06254..e0b6c6c3 100644 --- a/docker/base/Dockerfile +++ b/docker/base-5.0.3/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:trusty +FROM ubuntu:14.04 RUN \ apt-get update && \ 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"] diff --git a/docker/base-5.2/Dockerfile b/docker/base-5.2/Dockerfile new file mode 100644 index 00000000..62a10074 --- /dev/null +++ b/docker/base-5.2/Dockerfile @@ -0,0 +1,35 @@ +FROM ubuntu:17.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"] diff --git a/docker/dotfile/Dockerfile b/docker/dotfile/Dockerfile index 166e348c..f29c4d56 100644 --- a/docker/dotfile/Dockerfile +++ b/docker/dotfile/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY ./ p9k/ COPY docker/dotfile/zshrc .zshrc diff --git a/docker/omz/Dockerfile b/docker/omz/Dockerfile index f839fba8..1a417b9f 100644 --- a/docker/omz/Dockerfile +++ b/docker/omz/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/omz/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/prezto/Dockerfile b/docker/prezto/Dockerfile index 389dbd0a..70f3b65d 100644 --- a/docker/prezto/Dockerfile +++ b/docker/prezto/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/prezto/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/zgen/Dockerfile b/docker/zgen/Dockerfile index 9a0c13c7..48e44c77 100644 --- a/docker/zgen/Dockerfile +++ b/docker/zgen/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/zgen/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/zim/Dockerfile b/docker/zim/Dockerfile index dd10d102..cfe0fc93 100644 --- a/docker/zim/Dockerfile +++ b/docker/zim/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/zim/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/zplug/Dockerfile b/docker/zplug/Dockerfile index a87480be..89c23d54 100644 --- a/docker/zplug/Dockerfile +++ b/docker/zplug/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/zplug/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/zplugin/Dockerfile b/docker/zplugin/Dockerfile index dc723606..90c35c0e 100644 --- a/docker/zplugin/Dockerfile +++ b/docker/zplugin/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/zplugin/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/zpm/Dockerfile b/docker/zpm/Dockerfile index d99edb37..c1c44e38 100644 --- a/docker/zpm/Dockerfile +++ b/docker/zpm/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/zpm/install.zsh /tmp/ RUN zsh /tmp/install.zsh diff --git a/docker/zulu/Dockerfile b/docker/zulu/Dockerfile index dcb332ab..880a07d0 100644 --- a/docker/zulu/Dockerfile +++ b/docker/zulu/Dockerfile @@ -1,4 +1,5 @@ -FROM p9k:base +ARG base +FROM p9k:${base} COPY docker/zulu/install.zsh /tmp/ RUN zsh /tmp/install.zsh |