added goss
This commit is contained in:
parent
e312aac855
commit
f7b497bfc4
@ -1,5 +1,7 @@
|
||||
FROM alpine:3.10
|
||||
|
||||
RUN apk add --no-cache ansible
|
||||
RUN apk add --no-cache ansible curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
@ -1,5 +1,7 @@
|
||||
FROM archlinux/base
|
||||
|
||||
RUN pacman -Syuu --noconfirm && pacman -S python ansible sshpass git python-passlib python-netaddr --noconfirm
|
||||
RUN pacman -Syuu --noconfirm && pacman -S python ansible sshpass git python-passlib python-netaddr curl --noconfirm \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
@ -1,7 +1,9 @@
|
||||
FROM centos:7
|
||||
|
||||
RUN yum -y install epel-release \
|
||||
&& yum -y install ansible git \
|
||||
&& yum -y install ansible git curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& yum clean headers \
|
||||
&& yum clean packages
|
||||
|
||||
|
@ -2,6 +2,8 @@ FROM centos:8
|
||||
|
||||
RUN dnf -y install python3-pip &&\
|
||||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm &&\
|
||||
dnf install -y --enablerepo epel-playground ansible
|
||||
dnf install -y --enablerepo epel-playground ansible curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
@ -1,7 +1,9 @@
|
||||
FROM debian:7
|
||||
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -y python-pip python-dev git apt-utils
|
||||
&& apt-get install -y python-pip python-dev git apt-utils curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss
|
||||
|
||||
RUN pip install --index-url=https://pypi.python.org/simple/ --upgrade pip
|
||||
|
||||
|
@ -10,6 +10,9 @@ RUN apt-get -q update \
|
||||
python-pip \
|
||||
git \
|
||||
apt-utils \
|
||||
curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& apt-get clean \
|
||||
&& pip install --upgrade pip
|
||||
|
||||
|
@ -3,6 +3,9 @@ FROM fedora:24
|
||||
RUN dnf -y install \
|
||||
ansible \
|
||||
openssh-clients \
|
||||
curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& dnf clean all
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
@ -9,6 +9,9 @@ RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ansible \
|
||||
git \
|
||||
curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& apt-get clean
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
@ -11,6 +11,9 @@ RUN apt-get update \
|
||||
python-apt \
|
||||
git-core \
|
||||
openssh-client \
|
||||
curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& apt-get clean
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
@ -11,6 +11,9 @@ RUN apt-get update \
|
||||
python-apt \
|
||||
git-core \
|
||||
openssh-client \
|
||||
curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& apt-get clean
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
@ -8,6 +8,9 @@ RUN apt-get update \
|
||||
python-apt \
|
||||
git-core \
|
||||
openssh-client \
|
||||
curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& apt-get clean
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
Loading…
Reference in New Issue
Block a user