Skip to content

Commit

Permalink
Merge pull request #1 from KernelPanicAUS/feature/configurable-ansibl…
Browse files Browse the repository at this point in the history
…e-version

Make ansible version configurable
  • Loading branch information
DaspawnW authored Nov 10, 2020
2 parents 3f9dc5b + 78091f8 commit 6c5cbed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jenkins-jnlp-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ARG TERRAFORM_12_VERSION=0.12.29
ARG TERRAFORM_13_VERSION=0.13.2
ARG KUBECTL_VERSION=1.18.0
ARG HELM_VERSION=3.1.2
ARG ANSIBLE_VERSION=2.10.3

RUN apt-get update && apt-get dist-upgrade -y \
&& apt-get install -y \
Expand All @@ -21,7 +22,6 @@ RUN apt-get update && apt-get dist-upgrade -y \
unzip \
jq \
python3-pip \
ansible \
&& rm -rf /var/lib/apt/lists/* \

#### install aws cli
Expand All @@ -31,6 +31,9 @@ RUN apt-get update && apt-get dist-upgrade -y \
#### install boto3
&& pip3 install -U boto3 \

#### install ansible
&& pip3 install ansible==${ANSIBLE_VERSION} \

#### install vault
&& curl "https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip" -o "vault.zip" \
&& unzip vault.zip && mv vault /usr/bin && rm vault.zip \
Expand Down

0 comments on commit 6c5cbed

Please sign in to comment.