-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from ckan/Remove-Supervisor-plus-tidyup
Updates to CKAN 2.11 and master images (remove supervisor and tidy up)
- Loading branch information
Showing
13 changed files
with
0 additions
and
136 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,6 @@ COPY setup/supervisord.conf /etc | |
# Install CKAN | ||
RUN pip3 install -e git+${GIT_URL}@${GIT_BRANCH}#egg=ckan && \ | ||
cd ${SRC_DIR}/ckan && \ | ||
cp who.ini ${APP_DIR} && \ | ||
pip3 install --no-binary markdown -r requirements.txt && \ | ||
# Install CKAN envvars to support loading config from environment variables | ||
pip3 install -e git+https://github.com/okfn/[email protected]#egg=ckanext-envvars && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,20 +47,12 @@ RUN apt-get install --no-install-recommends -y \ | |
# Create the src directory | ||
RUN mkdir -p ${SRC_DIR} | ||
|
||
# Install supervisord and create the supervisord.d directory | ||
RUN apt-get install --no-install-recommends -y \ | ||
supervisor && \ | ||
mkdir /etc/supervisord.d | ||
|
||
COPY setup/supervisord.conf /etc | ||
|
||
# Install uwsgi, the CKAN application, the dependency packages for CKAN plus some confiquration | ||
RUN pip3 install -U pip && \ | ||
pip3 install uwsgi && \ | ||
cd ${SRC_DIR} && \ | ||
pip3 install -e git+${GIT_URL}@${CKAN_VERSION}#egg=ckan && \ | ||
cd ckan && \ | ||
cp who.ini ${APP_DIR} && \ | ||
pip3 install --no-binary markdown -r requirements.txt && \ | ||
# Install CKAN envvars to support loading config from environment variables | ||
pip3 install -e git+https://github.com/okfn/[email protected]#egg=ckanext-envvars && \ | ||
|
@@ -85,6 +77,4 @@ ONBUILD RUN mkdir /docker-entrypoint.d | |
|
||
EXPOSE 5000 | ||
|
||
HEALTHCHECK --interval=60s --timeout=5s --retries=5 CMD curl --fail http://localhost:5000/api/3/action/status_show || exit CMD ["/srv/app/start_ckan.sh"] | ||
|
||
CMD ["/srv/app/start_ckan.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.