Update to ckan 2.8.1 and alpine 3.8
This commit is contained in:
parent
1d4d2759a1
commit
59e403a760
|
@ -1,11 +1,11 @@
|
||||||
##################
|
##################
|
||||||
### Build CKAN ###
|
### Build CKAN ###
|
||||||
##################
|
##################
|
||||||
FROM alpine:3.7 as ckanbuild
|
FROM alpine:3.8 as ckanbuild
|
||||||
|
|
||||||
# Set CKAN version to build
|
# Set CKAN version to build
|
||||||
ENV GIT_URL=https://github.com/ckan/ckan.git
|
ENV GIT_URL=https://github.com/ckan/ckan.git
|
||||||
ENV GIT_BRANCH=ckan-2.8.0
|
ENV GIT_BRANCH=ckan-2.8.1
|
||||||
|
|
||||||
# Set src dirs
|
# Set src dirs
|
||||||
ENV SRC_DIR=/srv/app/src
|
ENV SRC_DIR=/srv/app/src
|
||||||
|
@ -46,7 +46,7 @@ RUN pip wheel --wheel-dir=/wheels uwsgi gevent
|
||||||
############
|
############
|
||||||
### MAIN ###
|
### MAIN ###
|
||||||
############
|
############
|
||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
MAINTAINER Keitaro Inc <info@keitaro.com>
|
MAINTAINER Keitaro Inc <info@keitaro.com>
|
||||||
|
|
||||||
|
@ -98,9 +98,10 @@ RUN pip install -e /srv/app/src/ckan && \
|
||||||
paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \
|
paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \
|
||||||
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
||||||
# Change ownership to app user
|
# Change ownership to app user
|
||||||
chown -R ckan:ckan /srv/app && \
|
chown -R ckan:ckan /srv/app
|
||||||
|
|
||||||
# Remove wheels
|
# Remove wheels
|
||||||
rm -rf /srv/app/wheels
|
RUN rm -rf /srv/app/wheels
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue