diff --git a/.drone.jsonnet b/.drone.jsonnet index ada531b..e8db2d2 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -205,9 +205,11 @@ local PipelineBuildContainer(arch='amd64') = { steps: [ { name: 'build', - image: 'python:3.9', + image: 'python:3.9-alpine', commands: [ + 'apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git', 'git fetch -tq', + 'pip install --upgrade --no-cache-dir pip', 'pip install poetry poetry-dynamic-versioning -qq', 'poetry build', ], diff --git a/.drone.yml b/.drone.yml index d775d45..a94c033 100644 --- a/.drone.yml +++ b/.drone.yml @@ -221,9 +221,11 @@ platform: steps: - name: build - image: python:3.9 + image: python:3.9-alpine commands: + - apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git - git fetch -tq + - pip install --upgrade --no-cache-dir pip - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -299,9 +301,11 @@ platform: steps: - name: build - image: python:3.9 + image: python:3.9-alpine commands: + - apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git - git fetch -tq + - pip install --upgrade --no-cache-dir pip - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -377,9 +381,11 @@ platform: steps: - name: build - image: python:3.9 + image: python:3.9-alpine commands: + - apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git - git fetch -tq + - pip install --upgrade --no-cache-dir pip - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -627,6 +633,6 @@ depends_on: --- kind: signature -hmac: 8f92e71a88657fb107c79b586a62cbabc3b45328d3ec5b9a2ab2cc39ec7ce4b7 +hmac: 115e84e28c15acf303b5c60c1cee4d57323a4a758f6994688f4df183e472822d ... diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index 0f68427..4bd1206 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -11,7 +11,7 @@ ENV PY_COLORS=1 ADD dist/ansible_later-*.whl / -RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \ +RUN apk --update add --virtual .build-deps build-base libffi-dev musl-dev libressl-dev python3-dev cargo && \ apk --update add git && \ pip install --upgrade --no-cache-dir pip && \ pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \ diff --git a/docker/Dockerfile.arm b/docker/Dockerfile.arm index 378470e..6fe951b 100644 --- a/docker/Dockerfile.arm +++ b/docker/Dockerfile.arm @@ -11,7 +11,7 @@ ENV PY_COLORS=1 ADD dist/ansible_later-*.whl / -RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \ +RUN apk --update add --virtual .build-deps build-base libffi-dev musl-dev libressl-dev python3-dev cargo && \ apk --update add git && \ pip install --upgrade --no-cache-dir pip && \ pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \ diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 3a02f9e..b742aac 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -11,7 +11,7 @@ ENV PY_COLORS=1 ADD dist/ansible_later-*.whl / -RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \ +RUN apk --update add --virtual .build-deps build-base libffi-dev musl-dev libressl-dev python3-dev cargo && \ apk --update add git && \ pip install --upgrade --no-cache-dir pip && \ pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \