This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test-in-docker: Support for multiple ZSH versions
-z --zsh can specify one of the versions of ZSH we can get from centos and ubuntu
- Loading branch information
Showing
17 changed files
with
264 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/antibody/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/antigen/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:trusty | ||
FROM ubuntu:14.04 | ||
|
||
RUN \ | ||
apt-get update && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY ./ p9k/ | ||
COPY docker/dotfile/zshrc .zshrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/omz/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/prezto/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/zgen/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/zim/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/zplug/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/zplugin/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/zpm/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM p9k:base | ||
ARG base | ||
FROM p9k:${base} | ||
|
||
COPY docker/zulu/install.zsh /tmp/ | ||
RUN zsh /tmp/install.zsh | ||
|
Oops, something went wrong.