FROM ckan/ckan-base:testing-only.2.8 LABEL maintainer="brett@kowh.ai" ENV APP_DIR=/srv/app ENV SRC_EXTENSIONS_DIR=/srv/app/src_extensions # Install packages needed by the dev requirements RUN apk add --no-cache libffi-dev # Install CKAN dev requirements RUN pip install --no-binary :all: -r https://raw.githubusercontent.com/ckan/ckan/${GIT_BRANCH}/dev-requirements.txt # Create folder for local extensions sources RUN mkdir $SRC_EXTENSIONS_DIR COPY setup/start_ckan_development.sh ${APP_DIR} CMD ["/srv/app/start_ckan_development.sh"]