Add pcre to main stage and change order of default CKAN plugins

This commit is contained in:
Dragan Bocevski 2019-01-10 23:25:29 +01:00
parent e47474de97
commit b84427ec83
1 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ RUN apk add --no-cache \
libtool \ libtool \
musl-dev \ musl-dev \
pcre-dev \ pcre-dev \
pcre \
python-dev python-dev
# Create the src directory # Create the src directory
@ -54,7 +55,7 @@ ENV APP_DIR=/srv/app
ENV SRC_DIR=/srv/app/src ENV SRC_DIR=/srv/app/src
ENV PIP_SRC=${SRC_DIR} ENV PIP_SRC=${SRC_DIR}
ENV CKAN_SITE_URL=http://localhost:5000 ENV CKAN_SITE_URL=http://localhost:5000
ENV CKAN__PLUGINS image_view text_view recline_view datastore datapusher envvars ENV CKAN__PLUGINS envvars image_view text_view recline_view datastore datapusher
WORKDIR ${APP_DIR} WORKDIR ${APP_DIR}
@ -66,6 +67,7 @@ RUN apk add --no-cache git \
postgresql-client \ postgresql-client \
python \ python \
libmagic \ libmagic \
pcre \
apache2-utils && \ apache2-utils && \
# Create SRC_DIR # Create SRC_DIR
mkdir -p ${SRC_DIR} mkdir -p ${SRC_DIR}