Minor update

This commit is contained in:
Marko Bocevski 2016-08-25 21:46:38 +02:00
parent e2ec4adcbf
commit de7eaa90d5
1 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,6 @@ MAINTAINER Keitaro Inc <info@keitaro.info>
ENV APP_DIR=/srv/app
ENV GIT_URL=https://github.com/ckan/ckan.git
ENV GIT_BRANCH=release-v2.5.2
ENV APP_WSGI=ckan.wsgi
ENV CKAN_SITE_URL=http://localhost
ENV CKAN__PLUGINS image_view text_view recline_view datastore datapusher envvars
@ -14,14 +13,14 @@ WORKDIR ${APP_DIR}
# Install necessary packages to run CKAN
RUN apk add --no-cache git \
gettext \
postgresql-client \
postgresql-dev \
python \
py-pip \
py-gunicorn
# Temporary packages to build CKAN requirements
RUN apk add --no-cache --virtual .build-deps \
postgresql-client \
postgresql-dev \
gcc \
musl-dev \
python-dev
@ -36,8 +35,9 @@ RUN mkdir ${APP_DIR}/src && cd ${APP_DIR}/src && \
pip install --no-cache-dir --upgrade -r requirements.txt && \
pip install --no-cache-dir html5lib==0.9999999
# Remove temporary packages
RUN apk del .build-deps
# Remove temporary packages and files
RUN apk del .build-deps && \
rm -rf ${APP_DIR}/src
# Default Extensions
RUN pip install --no-cache-dir git+https://github.com/okfn/ckanext-envvars.git#egg=ckanext-envvars