From c5c9a67924c90cf35fadef8e7066495e9c91e76b Mon Sep 17 00:00:00 2001 From: Mpho raf Date: Sun, 20 Mar 2022 17:13:29 +0200 Subject: [PATCH] Fixed issues with gcc for apk and updated to python version 3.6 --- .drone.jsonnet | 2 +- Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index db23596..02734f3 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -19,7 +19,7 @@ local Pipeline(name, image) = { }; [ - Pipeline("python-3-5", "python:3.5"), + Pipeline("python-3-6", "python:3.6"), Pipeline("python-3-7", "python:3.7"), Pipeline("python-3-8", "python:3.8"), Pipeline("python-3-9", "python:3.9"), diff --git a/Jenkinsfile b/Jenkinsfile index c34513e..2b35421 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,7 +33,7 @@ pipeline { } steps { sh ''' - apk add --no-cache libpq-dev + apk --no-cache add --virtual build-dependencies libpq-dev gcc musl-dev python -m venv ${PY_ENV} source ${PY_ENV}/bin/activate export PATH=${PY_ENV}/bin:${PATH}