diff --git a/cluster/images/provider-ansible/Dockerfile b/cluster/images/provider-ansible/Dockerfile index ebdc92f..52de6bb 100644 --- a/cluster/images/provider-ansible/Dockerfile +++ b/cluster/images/provider-ansible/Dockerfile @@ -1,12 +1,12 @@ FROM python:3.10-alpine3.17 AS build-base RUN apk --no-cache add gcc musl-dev libffi-dev RUN mkdir -p /wheels -RUN python -m pip wheel ansible ansible-runner --wheel-dir=/wheels +RUN python -m pip wheel ansible ansible-runner distlib --wheel-dir=/wheels FROM python:3.10-alpine3.17 RUN apk --no-cache add ca-certificates bash openssh-client git dumb-init COPY --from=build-base /wheels/* /wheels/ -RUN python -m pip install --no-index --find-links=/wheels ansible ansible-runner && \ +RUN python -m pip install --no-index --find-links=/wheels ansible ansible-runner distlib && \ rm -r /wheels ARG TARGETOS @@ -25,4 +25,4 @@ RUN chown ansible /ansibleDir /.ansible EXPOSE 8080 USER ansible -ENTRYPOINT ["/usr/bin/dumb-init", "crossplane-ansible-provider"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/dumb-init", "crossplane-ansible-provider"]