Pin python version to python 3.8 in examples and readme

This commit is contained in:
Marko Bocevski 2021-09-22 18:16:30 +02:00
parent dbc534ac72
commit 02870cdb99
No known key found for this signature in database
GPG Key ID: C5B52A3811855AB3
2 changed files with 7 additions and 3 deletions

View File

@ -54,7 +54,9 @@ FROM ghcr.io/keitaroinc/ckan:2.9.4 as extbuild
USER root
# Install any system packages necessary to build extensions
RUN apk add --no-cache python3-dev
# Make sure we install python 3.8, cause CKAN is not compatible with 3.9
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/v3.13/main \
python3-dev=3.8.10-r0
# Fetch and build the custom CKAN extensions
RUN pip wheel --wheel-dir=/wheels git+https://github.com/acmecorp/ckanext-acme@0.0.1#egg=ckanext-acme

View File

@ -11,12 +11,14 @@ ENV HARVEST_GIT_BRANCH=v1.3.1
USER root
# Install necessary packages to build extensions
RUN apk add --no-cache \
# Make sure we install python 3.8, cause CKAN is not compatible with 3.9
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/v3.13/main \
python3-dev=3.8.10-r0 && \
apk add --no-cache \
gcc \
g++ \
libffi-dev \
openssl-dev \
python3-dev \
rust \
cargo