Update vault, kubectl, vault and alpine version
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
7f904d92d0
commit
6a109f53d0
1 changed files with 7 additions and 3 deletions
|
|
@ -1,13 +1,13 @@
|
|||
# docker build -f ansible.Dockerfile -t adrien/ansible ./
|
||||
|
||||
FROM python:3.7-alpine
|
||||
FROM python:3.8-alpine
|
||||
LABEL name="ansible" \
|
||||
version="latest"
|
||||
RUN VAULT_VERSION=1.4.2 && KUBECTL_VERSION=v1.18.3 && \
|
||||
RUN VAULT_VERSION=1.5.3 && KUBECTL_VERSION=v1.19.2 && HELM_VERSION=v3.3.3 && \
|
||||
apk --update add --virtual build-dependencies gcc musl-dev libffi-dev openssl-dev build-base libvirt-dev && \
|
||||
pip3 install ansible asn1crypto bcrypt cachetools certifi cffi chardet cryptography dictdiffer \
|
||||
docker-py google-auth httplib2 hvac idna ipaddress Jinja2 jmespath jsonpatch jsonpointer jsonschema \
|
||||
kubernetes~=9.0.0 libvirt-python MarkupSafe oauthlib openshift~=0.9.0 paramiko pyasn1 pyasn1-modules pycparser \
|
||||
kubernetes libvirt-python MarkupSafe oauthlib openshift paramiko pyasn1 pyasn1-modules pycparser \
|
||||
PyNaCl python-dateutil python-string-utils PyYAML q requests requests-oauthlib rsa ruamel.yaml \
|
||||
six simplejson urllib3 websocket-client ansible-lint && \
|
||||
apk add ca-certificates && \
|
||||
|
|
@ -20,6 +20,10 @@ RUN VAULT_VERSION=1.4.2 && KUBECTL_VERSION=v1.18.3 && \
|
|||
wget https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
|
||||
install kubectl /usr/local/bin/kubectl -o root -g root -m 0755 && \
|
||||
rm -f kubectl && \
|
||||
wget https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz && \
|
||||
tar -zxf helm-${HELM_VERSION}-linux-amd64.tar.gz && \
|
||||
sudo install -o root -g root -m 0755 linux-amd64/helm /usr/local/bin/helm && \
|
||||
rm -fr helm-${HELM_VERSION}-linux-amd64.tar.gz linux-amd64 && \
|
||||
mkdir -p /etc/ansible /ansible && \
|
||||
echo "[local]" >> /etc/ansible/hosts && \
|
||||
echo "localhost" >> /etc/ansible/hosts && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue