Roberto Rosario
f0ae0d06c7
Switch to 2 Redis databases
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-07-02 21:40:12 -04:00
Roberto Rosario
924778d42f
Update Docker image to use Python3
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-07-02 21:36:18 -04:00
Roberto Rosario
c3991c3798
Add conditional install of psutil for ARM CPUs
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-16 20:51:21 -04:00
Roberto Rosario
92e12f3ec5
Remove unused gnome packages
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:40:08 -04:00
Roberto Rosario
d4130cd393
Make and install the sdist version instead
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 13:19:36 -04:00
Roberto Rosario
a38426d823
Finish platform app
...
Update Dockerfile to use platform template for supervisord.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 04:35:39 -04:00
Santiago
f55979b1a6
As many RUN squashed as possible.
...
Image size down to 1.15GB, 14 layers.
Files and scripts move to a docker root fs instead of copied.
Debian slim 9.8.
Updated to Docker best practices.
Signed-off-by: Anderson Santiago <SantiagoGitlab@gmail.com >
2019-05-09 20:30:48 +00:00
Roberto Rosario
f5aaff9ab1
Add automated help and organize makefile targets
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 23:08:57 -04:00
Roberto Rosario
e6ccfb4b59
Install and serve static content from the image
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-08 22:52:46 -04:00
Manoel Brunnen
c4b9ae596e
Workaround for pip bug #6179
...
See https://github.com/pypa/pip/issues/6197
2019-02-04 11:24:56 +01:00
Manoel Brunnen
5c9ff90d28
Fix libssl-dev dependency installation
...
The apt package informations have already been removed at this point.
Also, this dependency is not armhf specific.
2019-02-04 11:24:50 +01:00
Roberto Rosario
6a3aae3348
Remove python-pip and add libfuse from Dockerfile.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 14:16:47 -04:00
Roberto Rosario
da8c9d08d8
Add Redis config entries in the Docker images to disable saving the database and to only provision 1 database.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:30:50 -04:00
Roberto Rosario
2be29a2300
Install sudo to allow changing to the Mayan user. Install the database drivers in the final image instead of the base image. Use variable instead of the literal binaries.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 04:31:24 -04:00
Roberto Rosario
5d39ec4ed3
Update the Docker install to mirror the new recommended installation process at /opt. Use virtualenv for the Docker install.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 03:34:58 -04:00
Roberto Rosario
891dc2d74b
Fix Dockerfile typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-04 23:49:16 -04:00
Eric Riggs
6722394e34
Add Docker and install step to have Redis discard data when out of memory.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-07-10 04:48:42 -04:00
Roberto Rosario
340eabc725
Include the version file in the final docker image.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:33:10 -04:00
Roberto Rosario
bdf2bfcd12
Create dummy makefile to avoid error for non existing docker/Makefile during build.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-05 03:41:22 -04:00
Roberto Rosario
66205c11d3
Add zlib and libjpeg symlinks to allow Pillow to install on armv7l (ODROID HC1)
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-03 02:59:50 -04:00
Roberto Rosario
9c8326fd0e
Fix issue with locale during packaging for test documents with unicode names. Add files to allow live testing.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-21 00:40:39 -04:00
Roberto Rosario
3612f6dbfb
Ensure APT_PROXY is read. Install GPG version 1.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-10 04:32:31 -04:00
Roberto Rosario
55359c72cf
Unify supervisor configuration files. Lower nice levels of most workers. Merge OCR and slow workers. Lower gunicorn workers to 2. Call all supervisor processes using a shell to expand the install and mayan binary locations and avoid hardcoding.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-04 00:48:03 -04:00
Eric Riggs
a84568574f
Replace ubuntu with debian
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-26 03:54:40 -04:00
Eric Riggs
4f801154aa
Manually link libjpeg and libzlib on aarch64.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-25 20:57:12 -04:00
Eric Riggs
8e3446c13e
Add g++
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-22 13:50:19 -04:00
Eric Riggs
27d84bea5a
- Add missing build libraries.
...
- Clean up some files.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-22 12:58:47 -04:00
Eric Riggs
f1ed40adba
Merge Docker files back into main repo.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-22 04:14:07 -04:00