0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-23 16:20:40 +00:00

fix indentation in dockerfile (#195)

This commit is contained in:
Robert Kaussow 2023-11-13 10:20:28 +01:00 committed by GitHub
parent 880f3ec40b
commit d83a875660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,13 +25,13 @@ ARG ANSIBLE_VERSION
ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-8.6.1}" ENV ANSIBLE_VERSION="${ANSIBLE_VERSION:-8.6.1}"
RUN apk --update add --virtual .build-deps python3-dev libffi-dev build-base && \ RUN apk --update add --virtual .build-deps python3-dev libffi-dev build-base && \
apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko && \ apk add --no-cache bash git curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko && \
apk upgrade --no-cache libcrypto3 libssl3 && \ apk upgrade --no-cache libcrypto3 libssl3 && \
pip3 install -U pip && \ pip3 install -U pip && \
pip3 install ansible=="${ANSIBLE_VERSION}" boto3 hcloud pywinrm passlib jsonschema && \ pip3 install ansible=="${ANSIBLE_VERSION}" boto3 hcloud pywinrm passlib jsonschema && \
apk del .build-deps && \ apk del .build-deps && \
rm -rf /var/cache/apk/* && \ rm -rf /var/cache/apk/* && \
rm -rf /tmp/* rm -rf /tmp/*
COPY --from=build /src/dist/drone-ansible /bin/drone-ansible COPY --from=build /src/dist/drone-ansible /bin/drone-ansible
ENTRYPOINT ["/bin/drone-ansible"] ENTRYPOINT ["/bin/drone-ansible"]