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 APP_DIR=/srv/app
ENV GIT_URL=https://github.com/ckan/ckan.git ENV GIT_URL=https://github.com/ckan/ckan.git
ENV GIT_BRANCH=release-v2.5.2 ENV GIT_BRANCH=release-v2.5.2
ENV APP_WSGI=ckan.wsgi
ENV CKAN_SITE_URL=http://localhost ENV CKAN_SITE_URL=http://localhost
ENV CKAN__PLUGINS image_view text_view recline_view datastore datapusher envvars 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 # Install necessary packages to run CKAN
RUN apk add --no-cache git \ RUN apk add --no-cache git \
gettext \ gettext \
postgresql-client \
postgresql-dev \
python \ python \
py-pip \ py-pip \
py-gunicorn py-gunicorn
# Temporary packages to build CKAN requirements # Temporary packages to build CKAN requirements
RUN apk add --no-cache --virtual .build-deps \ RUN apk add --no-cache --virtual .build-deps \
postgresql-client \
postgresql-dev \
gcc \ gcc \
musl-dev \ musl-dev \
python-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 --upgrade -r requirements.txt && \
pip install --no-cache-dir html5lib==0.9999999 pip install --no-cache-dir html5lib==0.9999999
# Remove temporary packages # Remove temporary packages and files
RUN apk del .build-deps RUN apk del .build-deps && \
rm -rf ${APP_DIR}/src
# Default Extensions # Default Extensions
RUN pip install --no-cache-dir git+https://github.com/okfn/ckanext-envvars.git#egg=ckanext-envvars RUN pip install --no-cache-dir git+https://github.com/okfn/ckanext-envvars.git#egg=ckanext-envvars