Commit Graph

187 Commits

Author SHA1 Message Date
Vladimir Vojneski 6aee14e1a4
Merge pull request #8 from keitaroinc/2.8.2
CKAN docker image for 2.8.2
2019-02-06 19:34:10 +01:00
Dragan Bocevski b84427ec83 Add pcre to main stage and change order of default CKAN plugins 2019-01-10 23:25:29 +01:00
Dragan Bocevski e47474de97 Update SOLR check in prerun 2019-01-10 23:25:02 +01:00
Dragan Bocevski 754f201942 ckan v2.8.2 2019-01-04 13:46:03 +01:00
Marko Bocevski ffe0eae03c
Merge pull request #3 from amercader/bash-2.8
Install bash in base image as it's required by the start_ckan.sh script
2018-08-23 17:56:39 +02:00
Marko Bocevski 26f80c9e2c
Merge pull request #4 from amercader/better-extra-scripts
Provide a better way to run extra scripts from children images
2018-08-23 17:56:10 +02:00
Marko Bocevski 22b024fed5
Merge branch 'master' into better-extra-scripts 2018-08-23 17:56:02 +02:00
Marko Bocevski 374a347be2
Merge pull request #5 from amercader/sysadmin-create
Fix sysadmin creation on 2.8
2018-08-23 17:52:34 +02:00
Marko Bocevski c625e47e89
Merge pull request #6 from amercader/uwsgi-options
Remove uWSGI --plugins option
2018-08-23 17:50:24 +02:00
amercader 6bc2cae8d2 Remove uWSGI --plugins options
As we are now installing uwsgi via pip these plugins are shipped as part
of the code and there's no need to load the plugin, otherwise you get
these alarming (but harmless) messages:

open("./http_plugin.so"): No such file or directory [core/utils.c line
3721]
 !!! UNABLE to
load uWSGI plugin: Error loading shared library ./http_plugin.so: No
such file or directory !!!

open("./python_plugin.so"): No such file or directory [core/utils.c line
3721]
 !!! UNABLE to
load uWSGI plugin: Error loading shared library ./python_plugin.so: No
such file or directory !!!

open("./gevent_plugin.so"): No such file or directory [core/utils.c line
3721]
 !!! UNABLE to
load uWSGI plugin: Error loading shared library ./gevent_plugin.so: No
such file or directory !!!
2018-08-13 15:23:47 +02:00
Pance Ribarski 2e24eeae19 fix calling extra-scripts.sh 2018-08-10 11:10:50 +02:00
amercader d643d6eb59 Fix sysadmin creation on 2.8
Whitespace changes meant that the check to see if the sysadmin exists no
longer works on CKAN 2.8.
2018-08-08 15:10:21 +02:00
amercader c0e229197e Provide a better way to run extra scripts from children images
The current way requires an `extra_scripts.sh` file to be present in on
children images.

With this approach a new folder `/docker-entrypoint.d` is created when
an image extends this one. The children image can then copy any shell or
python file that they want executed at the start of container in that
directory.

For instance consider the following setup:

```
cloud-mysite
├── .env
├── docker-entrypoint.d
│   └── 00_setup_validation.sh
│   └── 01_check_users.py
└── Dockerfile
```

The `Dockerfile` will look like:

```
FROM keitaro/ckan:2.8.1

[...]

COPY docker-entrypoint.d/* /docker-entrypoint.d/
```

The files will be executed in alphabetical order.
2018-08-07 11:58:04 +02:00
amercader 3f43bca349 Install bash in base image as it's required by the start_ckan.sh script 2018-08-02 10:34:55 +02:00
Atanas Kostovski 59e403a760 Update to ckan 2.8.1 and alpine 3.8 2018-07-30 14:20:13 +02:00
Pance Ribarski 1d4d2759a1 added extra_scripts.sh before ckan starts 2018-06-29 18:53:51 +02:00
Marko Bocevski 42d17a659d Docker for ckan 2.8.0 2018-05-22 14:53:09 +02:00
Marko Bocevski 5f8d060fc3 Move to a multi-stage docker setup 2017-10-18 22:10:19 +02:00
Marko Bocevski 237ea992f2 Migrate from gunicorn to uwsgi and remove nginx dependency for http basicauth 2017-05-09 23:45:54 +02:00
Marko Bocevski fa5a3603ba Add health check to docker image 2017-04-07 09:34:40 +02:00
Marko Bocevski 353c88d473 Pass host and x-forwarded-for headers when using nginx reverse proxy 2017-04-07 09:10:07 +02:00
Marko Bocevski db0b33437d Change docker layout and setup install for CKAN 2.6.2 with password protect option 2017-04-06 12:57:37 +02:00
Jovanka Gulicoska 0ebeaad076 Remove py-gevent from apk add 2017-04-04 11:07:13 +02:00
Petar Efnushev 4cdecebe6e Start CKAN using gevent for concurrency 2017-04-04 09:05:13 +02:00
Petar Efnushev 12f574bc18 Add dependency for gevent 2017-04-04 09:04:18 +02:00
Marko Bocevski c83b8bebf3 Upgrade to CKAN 2.6.0 2017-01-27 10:51:02 +01:00
Marko Bocevski 87226ae754 Update to 2.5.3 2016-11-07 12:15:50 +01:00
Marko Bocevski d2301f7633 Add pages extension to default image 2016-10-26 09:35:52 +02:00
Marko Bocevski cc1f4c884c Add geos library 2016-10-26 09:28:54 +02:00
Marko Bocevski d576febe74 Remove white spaces 2016-08-26 10:44:49 +02:00
Petar Efnushev 2feab6e9c6 Add prerun checks for postgres & solr database 2016-08-26 10:30:53 +02:00
Marko Bocevski 9504ee4b27 2.5.2 map-fix 2016-08-25 23:04:32 +02:00
Marko Bocevski 4847ee0e20 Update port to 5000 2016-08-25 22:13:02 +02:00
Marko Bocevski ef088d177a Set default value for APP INI 2016-08-25 22:10:24 +02:00
Marko Bocevski acb5913a64 Add pre-run 2016-08-25 22:05:30 +02:00
Marko Bocevski de7eaa90d5 Minor update 2016-08-25 21:46:38 +02:00
Marko Bocevski e2ec4adcbf Initial commit 2016-08-25 17:40:05 +02:00