Pin python version to python 3.8 in examples and readme
This commit is contained in:
parent
dbc534ac72
commit
02870cdb99
|
@ -54,7 +54,9 @@ FROM ghcr.io/keitaroinc/ckan:2.9.4 as extbuild
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
# Install any system packages necessary to build extensions
|
# 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
|
# 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
|
RUN pip wheel --wheel-dir=/wheels git+https://github.com/acmecorp/ckanext-acme@0.0.1#egg=ckanext-acme
|
||||||
|
|
|
@ -11,12 +11,14 @@ ENV HARVEST_GIT_BRANCH=v1.3.1
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
# Install necessary packages to build extensions
|
# 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 \
|
gcc \
|
||||||
g++ \
|
g++ \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
python3-dev \
|
|
||||||
rust \
|
rust \
|
||||||
cargo
|
cargo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue