fix: add missing build dependencies for cryptography (#79)

This commit is contained in:
Robert Kaussow 2021-02-12 15:08:14 +01:00 committed by GitHub
parent 6c501f77bf
commit 3ae0e358c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 8 deletions

View File

@ -205,9 +205,11 @@ local PipelineBuildContainer(arch='amd64') = {
steps: [ steps: [
{ {
name: 'build', name: 'build',
image: 'python:3.9', image: 'python:3.9-alpine',
commands: [ commands: [
'apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git',
'git fetch -tq', 'git fetch -tq',
'pip install --upgrade --no-cache-dir pip',
'pip install poetry poetry-dynamic-versioning -qq', 'pip install poetry poetry-dynamic-versioning -qq',
'poetry build', 'poetry build',
], ],

View File

@ -221,9 +221,11 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.9 image: python:3.9-alpine
commands: commands:
- apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git
- git fetch -tq - git fetch -tq
- pip install --upgrade --no-cache-dir pip
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
- poetry build - poetry build
@ -299,9 +301,11 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.9 image: python:3.9-alpine
commands: commands:
- apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git
- git fetch -tq - git fetch -tq
- pip install --upgrade --no-cache-dir pip
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
- poetry build - poetry build
@ -377,9 +381,11 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.9 image: python:3.9-alpine
commands: commands:
- apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git
- git fetch -tq - git fetch -tq
- pip install --upgrade --no-cache-dir pip
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
- poetry build - poetry build
@ -627,6 +633,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 8f92e71a88657fb107c79b586a62cbabc3b45328d3ec5b9a2ab2cc39ec7ce4b7 hmac: 115e84e28c15acf303b5c60c1cee4d57323a4a758f6994688f4df183e472822d
... ...

View File

@ -11,7 +11,7 @@ ENV PY_COLORS=1
ADD dist/ansible_later-*.whl / 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 && \ apk --update add git && \
pip install --upgrade --no-cache-dir pip && \ pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \ pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \

View File

@ -11,7 +11,7 @@ ENV PY_COLORS=1
ADD dist/ansible_later-*.whl / 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 && \ apk --update add git && \
pip install --upgrade --no-cache-dir pip && \ pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \ pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \

View File

@ -11,7 +11,7 @@ ENV PY_COLORS=1
ADD dist/ansible_later-*.whl / 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 && \ apk --update add git && \
pip install --upgrade --no-cache-dir pip && \ pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \ pip install --no-cache-dir $(find / -name "ansible_later-*.whl")[ansible] && \