http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/scripts/Dockerfile Mercurial Repository: p/roundup/code: scripts/Dockerfile history 2021-11-12T22:01:02-05:00 Add local_pip source and add healthcheck. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6bf22b7b23fef020f993a2f61bffa7f5f7faa1ad John Rouillard rouilj@ieee.org 2021-11-12T22:01:02-05:00 2021-11-12T22:01:02-05:00
changeset 6bf22b7b23fe
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Add local_pip source and add healthcheck.
files
issue2551167 - update wheel support. http://hg.code.sf.net:8000/p/roundup/code/#changeset-5ad7fb912227c9467f55dfc96f46e1bf5c905de9 John Rouillard rouilj@ieee.org 2021-11-07T12:19:27-05:00 2021-11-07T12:19:27-05:00
changeset 5ad7fb912227
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2551167 - update wheel support.

New method for finding locale and template files when installed as
a wheel. It acts more like existing code for egg support.

Add build-arg source=local_pip for building using pip using the local
files rather than downloading from pypi. Useful for testing these
changes. Since it's developer testing code and still has the downside
that man pages aren't accessible, I am not documenting it as an
option.
files
issue2551163 Docker/containerization support - pypi fix http://hg.code.sf.net:8000/p/roundup/code/#changeset-49d26e77d17345d0c44f1595057cd8f7ded769c8 John Rouillard rouilj@ieee.org 2021-11-06T15:29:24-04:00 2021-11-06T15:29:24-04:00
changeset 49d26e77d173
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2551163 Docker/containerization support - pypi fix

pypi install is putting the stuff that should be in /usr/local/share
into site-packages/usr/local/share/..... So roundup-admin can't find
templates etc.

This patch links the files from the installed location to
/usr/local/share.

setuptools is a pain. Issue opened to fix this in setup.py.
files
issue2551163 Docker/containerization support http://hg.code.sf.net:8000/p/roundup/code/#changeset-e6ae8188f61a86bc1dc19147d0f7ed6c21dab591 John Rouillard rouilj@ieee.org 2021-11-05T23:44:14-04:00 2021-11-05T23:44:14-04:00
changeset e6ae8188f61a
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2551163 Docker/containerization support

New multi-stage build including drivers for mysql and postgresql
along with brotli and zstd HTTP compression methods.

Documentation in installation.txt.
files
issue2551163 - add starter docker http://hg.code.sf.net:8000/p/roundup/code/#changeset-26babdf85067a6a2ee3df59ac9585bf04de04940 John Rouillard rouilj@ieee.org 2021-11-05T14:37:09-04:00 2021-11-05T14:37:09-04:00
changeset 26babdf85067
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2551163 - add starter docker

This works but I should be able to shrink it by 10MB (to 75 or so) by
doing a multi-stage build.

Also this only supports anydbm/sqlite at the moment. So the saved
space will be used by mysql and pgsql drivers before I am done.

Based on alipine linux python image. Invoke with:

docker run --rm -v /.../issue.tracker:/usr/src/app/tracker \
-p 9017:8080 roundup-app:latest

you can also append tracker specifications like:

inhouse=tracker/inhouse customer=tracker/customer

to the docker command to start up two trackers on the two tracker
homes on the volume mounted at (/usr/src/apps/) tracker.
files