diff options
Diffstat (limited to 'docker')
39 files changed, 0 insertions, 480 deletions
diff --git a/docker/antibody/Dockerfile b/docker/antibody/Dockerfile deleted file mode 100644 index 84a60a89..00000000 --- a/docker/antibody/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/antibody/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ -COPY docker/antibody/zshrc .zshrc diff --git a/docker/antibody/install.zsh b/docker/antibody/install.zsh deleted file mode 100644 index 4c54fa68..00000000 --- a/docker/antibody/install.zsh +++ /dev/null @@ -1 +0,0 @@ -curl -sL https://git.io/antibody | bash -s diff --git a/docker/antibody/zshrc b/docker/antibody/zshrc deleted file mode 100644 index d516b679..00000000 --- a/docker/antibody/zshrc +++ /dev/null @@ -1,2 +0,0 @@ -source <(antibody init) -antibody bundle ~/p9k/ diff --git a/docker/antigen/Dockerfile b/docker/antigen/Dockerfile deleted file mode 100644 index d8d0a4bc..00000000 --- a/docker/antigen/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/antigen/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ -COPY docker/antigen/zshrc .zshrc diff --git a/docker/antigen/install.zsh b/docker/antigen/install.zsh deleted file mode 100644 index 6bab8ab3..00000000 --- a/docker/antigen/install.zsh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/zsh - -mkdir ~/antigen - -curl \ - -qLsSf \ - -o ~/antigen/antigen.zsh \ - https://git.io/antigen - -source ~/antigen/antigen.zsh - -# EOF diff --git a/docker/antigen/zshrc b/docker/antigen/zshrc deleted file mode 100644 index 0f8d4da4..00000000 --- a/docker/antigen/zshrc +++ /dev/null @@ -1,4 +0,0 @@ -source ~/antigen/antigen.zsh - -antigen theme "${HOME}/p9k" powerlevel9k --no-local-clone -antigen apply diff --git a/docker/base-4.3.11/Dockerfile b/docker/base-4.3.11/Dockerfile deleted file mode 100644 index 805a7ae1..00000000 --- a/docker/base-4.3.11/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -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-5.0.3/Dockerfile b/docker/base-5.0.3/Dockerfile deleted file mode 100644 index b1b85fcb..00000000 --- a/docker/base-5.0.3/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -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=5.0.2-3ubuntu6.2 \ - 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"] diff --git a/docker/base-5.1.1/Dockerfile b/docker/base-5.1.1/Dockerfile deleted file mode 100644 index c4fb6424..00000000 --- a/docker/base-5.1.1/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -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=5.1.1-1ubuntu2.2 \ - 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 deleted file mode 100644 index 2ec096fc..00000000 --- a/docker/base-5.2/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM ubuntu:17.10 - -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.2-5ubuntu1.2 \ - 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.3.1/Dockerfile b/docker/base-5.3.1/Dockerfile deleted file mode 100644 index 0294cf25..00000000 --- a/docker/base-5.3.1/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -FROM debian:stretch - -# We switched here to debian, as there seems no ZSH 5.3 in ubuntu. - -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.3.1-4+b2 \ - mercurial \ - subversion \ - golang \ - jq \ - nodejs \ - ruby \ - python \ - python-virtualenv \ - sudo \ - locales - -RUN adduser --shell /bin/zsh --gecos 'fred' --disabled-password fred -# Locale generation is different in debian. We need to enable en_US -# locale and then regenerate locales. -RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen -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.4.2/Dockerfile b/docker/base-5.4.2/Dockerfile deleted file mode 100644 index 8984c105..00000000 --- a/docker/base-5.4.2/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -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"] diff --git a/docker/base-5.5.1/Dockerfile b/docker/base-5.5.1/Dockerfile deleted file mode 100644 index 85fc570c..00000000 --- a/docker/base-5.5.1/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM ubuntu:18.10 - -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.5.1-1ubuntu1 \ - 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 deleted file mode 100644 index f29c4d56..00000000 --- a/docker/dotfile/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY ./ p9k/ -COPY docker/dotfile/zshrc .zshrc diff --git a/docker/dotfile/zshrc b/docker/dotfile/zshrc deleted file mode 100644 index 382b84a8..00000000 --- a/docker/dotfile/zshrc +++ /dev/null @@ -1 +0,0 @@ -source "${HOME}/p9k/prompt_powerlevel9k_setup" diff --git a/docker/fred-sudoers b/docker/fred-sudoers deleted file mode 100644 index 5fcd646f..00000000 --- a/docker/fred-sudoers +++ /dev/null @@ -1,2 +0,0 @@ -Defaults:fred !requiretty -fred ALL=(ALL) NOPASSWD: ALL diff --git a/docker/omz/Dockerfile b/docker/omz/Dockerfile deleted file mode 100644 index 1a417b9f..00000000 --- a/docker/omz/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/omz/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY docker/omz/zshrc .zshrc -COPY ./ p9k/ diff --git a/docker/omz/install.zsh b/docker/omz/install.zsh deleted file mode 100644 index e2cdfa96..00000000 --- a/docker/omz/install.zsh +++ /dev/null @@ -1,4 +0,0 @@ -sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - -mkdir -p ~/.oh-my-zsh/custom/themes -ln -nsf ~/p9k/ ~/.oh-my-zsh/custom/themes/powerlevel9k diff --git a/docker/omz/zshrc b/docker/omz/zshrc deleted file mode 100644 index 9e798e2d..00000000 --- a/docker/omz/zshrc +++ /dev/null @@ -1,5 +0,0 @@ -export ZSH=$HOME/.oh-my-zsh -ZSH_THEME="powerlevel9k/powerlevel9k" -plugins=(git rake ruby) - -source $ZSH/oh-my-zsh.sh diff --git a/docker/prezto/Dockerfile b/docker/prezto/Dockerfile deleted file mode 100644 index 70f3b65d..00000000 --- a/docker/prezto/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/prezto/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ diff --git a/docker/prezto/install.zsh b/docker/prezto/install.zsh deleted file mode 100644 index 2b2e878c..00000000 --- a/docker/prezto/install.zsh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/zsh - -set -eu - -git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" - -setopt EXTENDED_GLOB -for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do - ln -nsf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" -done - -ln -snf "${HOME}/p9k/powerlevel9k.zsh-theme" \ - "${HOME}/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup" - -echo "zstyle ':prezto:module:prompt' theme 'powerlevel9k'" \ - >> "${HOME}/.zpreztorc" - -# EOF diff --git a/docker/zgen/Dockerfile b/docker/zgen/Dockerfile deleted file mode 100644 index 48e44c77..00000000 --- a/docker/zgen/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/zgen/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ -COPY docker/zgen/zshrc .zshrc diff --git a/docker/zgen/install.zsh b/docker/zgen/install.zsh deleted file mode 100644 index 5cdc6181..00000000 --- a/docker/zgen/install.zsh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/zsh - -git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen" - -# EOF diff --git a/docker/zgen/zshrc b/docker/zgen/zshrc deleted file mode 100644 index 1fcb75b9..00000000 --- a/docker/zgen/zshrc +++ /dev/null @@ -1,10 +0,0 @@ -# load zgen -source ~/.zgen/zgen.zsh - -# if the init scipt doesn't exist -if ! zgen saved; then - zgen load ~/p9k/powerlevel9k.zsh-theme - - # generate the init script from plugins above - zgen save -fi diff --git a/docker/zim/Dockerfile b/docker/zim/Dockerfile deleted file mode 100644 index cfe0fc93..00000000 --- a/docker/zim/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/zim/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ diff --git a/docker/zim/install.zsh b/docker/zim/install.zsh deleted file mode 100644 index d6c6006a..00000000 --- a/docker/zim/install.zsh +++ /dev/null @@ -1,21 +0,0 @@ -#!zsh - -git clone --recursive https://github.com/Eriner/zim.git "${ZDOTDIR:-${HOME}}/.zim" - -setopt EXTENDED_GLOB -for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do - user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}" - touch ${user_file} - ( print -rn "$(<${template_file})$(<${user_file})" >! ${user_file} ) 2>/dev/null -done - -source "${ZDOTDIR:-${HOME}}/.zlogin" - -ln -nsf \ - ~/p9k/ \ - ~/.zim/modules/prompt/external-themes/powerlevel9k -ln -nsf \ - ~/.zim/modules/prompt/external-themes/powerlevel9k/powerlevel9k.zsh-theme \ - ~/.zim/modules/prompt/functions/prompt_powerlevel9k_setup - -sed -i "s/zprompt_theme='steeef'/zprompt_theme='powerlevel9k'/g" ~/.zimrc diff --git a/docker/zplug/Dockerfile b/docker/zplug/Dockerfile deleted file mode 100644 index 89c23d54..00000000 --- a/docker/zplug/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/zplug/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ -COPY docker/zplug/zshrc .zshrc diff --git a/docker/zplug/install.zsh b/docker/zplug/install.zsh deleted file mode 100644 index b01ff6ee..00000000 --- a/docker/zplug/install.zsh +++ /dev/null @@ -1,5 +0,0 @@ -#!zsh - -curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh| zsh - -# git clone https://github.com/zplug/zplug "${HOME}/.zplug" diff --git a/docker/zplug/zshrc b/docker/zplug/zshrc deleted file mode 100644 index 0a4ceb83..00000000 --- a/docker/zplug/zshrc +++ /dev/null @@ -1,5 +0,0 @@ -#!zsh - -source ~/.zplug/init.zsh -zplug "${HOME}/p9k", use:"powerlevel9k.zsh-theme", from:local, as:theme -zplug load --verbose diff --git a/docker/zplugin/Dockerfile b/docker/zplugin/Dockerfile deleted file mode 100644 index 90c35c0e..00000000 --- a/docker/zplugin/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/zplugin/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ -COPY docker/zplugin/zshrc.plugins .zshrc.plugins diff --git a/docker/zplugin/install.zsh b/docker/zplugin/install.zsh deleted file mode 100644 index fec4249d..00000000 --- a/docker/zplugin/install.zsh +++ /dev/null @@ -1,12 +0,0 @@ -sh -c "$(curl -fsSL https://raw.githubusercontent.com/psprint/zplugin/master/doc/install.sh)" - -# The 'zplugin snippet' only copies the .zsh-theme file, not everything else. -mkdir -p ~/.zplugin/snippets -ln -nsf \ - ~/p9k/ \ -~/.zplugin/snippets/--SLASH--home--SLASH--fred--SLASH--p9k--SLASH--powerlevel9k--DOT--zsh-theme - -{ - echo - echo "source ~/.zshrc.plugins" -} >> ~/.zshrc diff --git a/docker/zplugin/zshrc.plugins b/docker/zplugin/zshrc.plugins deleted file mode 100644 index 2e9ba7a3..00000000 --- a/docker/zplugin/zshrc.plugins +++ /dev/null @@ -1,5 +0,0 @@ -#!zsh - -zplugin load psprint zsh-navigation-tools -zplugin load psprint---zprompts -zplugin snippet ~/p9k/powerlevel9k.zsh-theme diff --git a/docker/zpm/Dockerfile b/docker/zpm/Dockerfile deleted file mode 100644 index c1c44e38..00000000 --- a/docker/zpm/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/zpm/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ -COPY docker/zpm/zshrc .zshrc diff --git a/docker/zpm/install.zsh b/docker/zpm/install.zsh deleted file mode 100644 index 6f74e8e0..00000000 --- a/docker/zpm/install.zsh +++ /dev/null @@ -1,6 +0,0 @@ -# install zpm -git clone --recursive https://github.com/zpm-zsh/zpm.git ~/.zpm - -# Install powerlevel9k -mkdir ~/.zpm/plugins/powerlevel9k -ln -s ~/p9k/powerlevel9k.zsh-theme ~/.zpm/plugins/powerlevel9k/powerlevel9k.plugin.zsh diff --git a/docker/zpm/zshrc b/docker/zpm/zshrc deleted file mode 100644 index b107976e..00000000 --- a/docker/zpm/zshrc +++ /dev/null @@ -1,3 +0,0 @@ -source ~/.zpm/zpm.zsh - -zpm load powerlevel9k diff --git a/docker/zshing/Dockerfile b/docker/zshing/Dockerfile deleted file mode 100644 index a51a3067..00000000 --- a/docker/zshing/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/zshing/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ diff --git a/docker/zshing/install.zsh b/docker/zshing/install.zsh deleted file mode 100644 index 8f926992..00000000 --- a/docker/zshing/install.zsh +++ /dev/null @@ -1,16 +0,0 @@ -#!zsh - -# install zshing https://github.com/zakariaGatter/zshing -git clone https://github.com/zakariaGatter/zshing.git ~/.zshing/zshing - -# Link P9K in zshing directory -ln -nsf ~/p9k ~/.zshing/powerlevel9k - -{ - echo - echo 'ZSHING_PLUGINS=( - "bhilburn/powerlevel9k" - )' - echo - echo "source ~/.zshing/zshing/zshing.zsh" -} >> ~/.zshrc diff --git a/docker/zulu/Dockerfile b/docker/zulu/Dockerfile deleted file mode 100644 index 880a07d0..00000000 --- a/docker/zulu/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -ARG base -FROM p9k:${base} - -COPY docker/zulu/install.zsh /tmp/ -RUN zsh /tmp/install.zsh - -COPY ./ p9k/ diff --git a/docker/zulu/install.zsh b/docker/zulu/install.zsh deleted file mode 100644 index 0ad6aae3..00000000 --- a/docker/zulu/install.zsh +++ /dev/null @@ -1,10 +0,0 @@ -#!zsh - -# install zulu https://github.com/zulu-zsh/zulu -curl -L https://git.io/zulu-install | zsh && zsh - -{ -echo 'zulu fpath add ~/p9k' -echo 'zulu fpath add ~/p9k/functions' -echo 'zulu theme powerlevel9k' -} >> ~/.zshrc |