Remove binary&collections as we can take from host
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d12d8522fb
commit
bca3f9b9c4
1 changed files with 1 additions and 16 deletions
|
|
@ -19,21 +19,6 @@ RUN apk --no-cache --update add ca-certificates bash curl openssh-client openssl
|
||||||
# apk --no-cache upgrade && \
|
# apk --no-cache upgrade && \
|
||||||
ln -s /usr/local/bin/python3 /usr/bin/python3
|
ln -s /usr/local/bin/python3 /usr/bin/python3
|
||||||
|
|
||||||
#RUN VAULT_VERSION=1.7.3 && \
|
|
||||||
# wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \
|
|
||||||
# unzip vault_${VAULT_VERSION}_linux_amd64.zip && \
|
|
||||||
# install vault /usr/local/bin/vault -o root -g root -m 0755 && \
|
|
||||||
# rm -f vault vault_${VAULT_VERSION}_linux_amd64.zip && \
|
|
||||||
RUN KUBECTL_VERSION=v1.21.3 && HELM_VERSION=v3.6.2 && \
|
|
||||||
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 && \
|
|
||||||
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 && \
|
|
||||||
helm plugin install https://github.com/databus23/helm-diff
|
|
||||||
|
|
||||||
RUN apk --update add --virtual build-dependencies gcc rust cargo musl-dev libffi-dev openssl-dev build-base libvirt-dev postgresql-dev && \
|
RUN apk --update add --virtual build-dependencies gcc rust cargo musl-dev libffi-dev openssl-dev build-base libvirt-dev postgresql-dev && \
|
||||||
pip3 install ansible asn1crypto bcrypt cachetools certifi cffi chardet cryptography dictdiffer \
|
pip3 install ansible asn1crypto bcrypt cachetools certifi cffi chardet cryptography dictdiffer \
|
||||||
docker-py google-auth httplib2 hvac idna ipaddress Jinja2 jmespath jsonpatch jsonpointer jsonschema \
|
docker-py google-auth httplib2 hvac idna ipaddress Jinja2 jmespath jsonpatch jsonpointer jsonschema \
|
||||||
|
|
@ -48,6 +33,6 @@ RUN apk --update add --virtual build-dependencies gcc rust cargo musl-dev libffi
|
||||||
echo "localhost" >> /etc/ansible/hosts
|
echo "localhost" >> /etc/ansible/hosts
|
||||||
#RUN update-ca-certificates
|
#RUN update-ca-certificates
|
||||||
|
|
||||||
RUN ansible-galaxy collection install kubernetes.core ansible.posix community.general community.libvirt ngine_io.cloudstack google.cloud community.digitalocean
|
#RUN ansible-galaxy collection install kubernetes.core ansible.posix community.general community.libvirt ngine_io.cloudstack google.cloud community.digitalocean
|
||||||
|
|
||||||
CMD ["ansible"]
|
CMD ["ansible"]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue