mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-29 00:00:35 +00:00
fix: add missing build dependencies for cryptography (#79)
This commit is contained in:
parent
6c501f77bf
commit
3ae0e358c0
@ -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',
|
||||||
],
|
],
|
||||||
|
14
.drone.yml
14
.drone.yml
@ -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
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -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] && \
|
||||||
|
@ -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] && \
|
||||||
|
@ -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] && \
|
||||||
|
Loading…
Reference in New Issue
Block a user