2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-10 15:20:55 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Meradoch
2fa61e9868 Proposed changes to fix permission errors with mkdir 2021-11-18 18:40:30 +03:00
Meradoch
ccc3fc2707
Fix permission denied error 2021-11-18 14:58:25 +03:00
Lev
7c157aa487
refactor: Dockerfiles (#555)
* refactor(frappe-worker): Dockerfile

* fix(frappe-worker): Cloning frappe repo

* refactor(frappe-nginx): Dockerfile

* refactor(erpnext-nginx): Dockerfile

* chore(frappe-worker): Add space in Dockerfile

* refactor(bench): Dockerfile

* refactor(frappe-socketio): Dockerfile

* ci(Test): Add `workflow_dispatch` trigger

* fix(bench): Uncomment missing package

* fix(bench): Replace legacy `libmariadbclient-dev` with `libmariadb-dev`

* refactor(erpnext-nginx): Install script

- Remove repetitive code
- Don't explicitly install production deps (they are installed via plain `yarn` with dev deps)
- Don't write to lockfiles

* fix(erpnext-nginx): use -e flag, fix installation

* fix(erpnext-nginx): Don't install unused wget

* fix(frappe-nginx): Get newest certificates

* fix: Install ca-certificates on erpnext-nginx instead of frappe-nginx

* trigger ci

* ci(test): Fix trigger duplicate

* chore: Fix linting
2021-11-10 04:43:46 +05:30
Lev
5a38d66a70 chore: Fix linting 2021-11-09 16:54:02 +03:00
Lev
a2db23e68e fix(frappe-worker): Drop flags 2021-11-09 16:49:40 +03:00
Lev
5254e2aad3
fix: Improve CI, fix builds (#554)
* ci(Test): Add `workflow_dispatch` trigger

* ci(Test): Build and run on push and pr

* test: Set failfast, remove ERPNext reference

* test: Reveal .env file for logs

* ci(Test): Rename step

* ci(Test): Fix git tag

* test: Add -x flag for debugging

* test: Fix failing test

* ci(Test): Check if built images are used

* ci(Test): Configure trigger paths, don't build on schedule

* test: Remove bug

* ci: Build and test stable images on PR

* fix(frappe-nginx): Get back to `ls` from `find`

* check if test passes with erpnext images

* fix(frappe-worker): Default sites in backup command

* get integration test changes back

* chore: Fix linting
2021-11-09 15:15:33 +03:00
Lev
f74f730b5e
chore: Fix lint issues (#553)
* ci(Lint): Temporarily disable branch contraint

* chore(erpnext-nginx): Fix linting

* chore: Fix linting issues

* ci(Lint): Add -x flag

* ci(Lint): Fix push trigger

* chore: Fix linting and formatting

* fix: Gunicorn server start

* chore(frappe-worker): Fix linting

* chore(frappe-nginx): Fix linting

* fix(erpnext-nginx): App installation

* fix(erpnext-nginx): App installation

* refactor(frappe-nginx): Use `find` instead of `ls`
2021-11-09 13:05:29 +03:00
Lev
e4df6e5aec refactor(worker): Replace basic commands with bench 2021-11-08 16:10:26 +03:00
Lev
9d41a6d24e Fix Python version for v12 2021-11-06 21:26:15 +03:00
Lev
c808ad1767 chore: Move files from build/common 2021-11-05 20:00:11 +03:00
Lev
a4c115f96d build: Update Python from 3.7 to 3.9; Debian from 10 to 11 2021-11-03 16:48:01 +03:00
dt
63da01c702
fix: Add missing packages for frappe:develop 2021-11-01 10:49:45 +03:00
Revant Nandgaonkar
48e9947580 fix: empty continuation line 2021-08-10 21:33:08 +05:30
Peter Dave Hello
428b8abffe Make sure apt lists cleaned up in Dockerfile 2021-08-10 19:16:46 +08:00
Revant Nandgaonkar
c6da8a1d98 feat: improve and upgrade build
use nodejs v14
allow build args to pass repo and branch
2021-05-21 14:30:55 +05:30
Revant Nandgaonkar
d37a1455b7 feat(frappe-worker): option to set gevent as gunicorn worker-class 2021-03-20 13:57:53 +05:30
Juan Jimenez-Anca
47dcb5f2b1 rootless containers 2021-02-20 10:54:01 +00:00
Revant Nandgaonkar
555aee2601 fix: sites-vol owned by non-root user
fixes permission denied error during site creation
2021-01-20 17:20:42 +05:30
Revant Nandgaonkar
c90783d6be feat: make images arm64 compatible 2021-01-08 17:45:22 +05:30
Revant Nandgaonkar
77b9eda567
Revert "feat: make images arm64 compatible" 2021-01-07 19:44:40 +05:30
Revant Nandgaonkar
8d2c139fc6 ci: use docker buildx in travis 2021-01-07 19:37:46 +05:30
Revant Nandgaonkar
948e1bf00a ci: build multi arch images 2021-01-06 00:14:25 +05:30
Revant Nandgaonkar
94f667caeb fix(frappe-worker): add gcc required for arm64 env 2021-01-05 22:02:00 +05:30
Revant Nandgaonkar
e55d7a8c6a fix(frappe-worker): default to amd64 as arch 2021-01-05 17:48:54 +05:30
Revant Nandgaonkar
4f904fe3b9 feat: make images arm64 compatible 2021-01-05 14:47:01 +05:30
Revant Nandgaonkar
062eea917a update: nodejs lts to latest minor and patch version 2021-01-04 18:54:11 +05:30
Revant Nandgaonkar
35dd53cc6f fix(frappe-worker): allow non-root password to not expire
old image tags seems to stop working if password is set to expire

fixes https://github.com/frappe/helm/issues/58
2021-01-04 18:52:52 +05:30
Revant Nandgaonkar
c43e973481 fix(frappe-worker): install wait-for-it deb package 2020-09-16 05:06:07 +05:30
Revant Nandgaonkar
a4c814f994 fix: health check
use shell script instead of python
2020-09-15 23:18:28 +05:30
Revant Nandgaonkar
e9080d3952 fix: accept args for bench commands 2020-08-30 00:06:56 +05:30
Revant Nandgaonkar
7c293d7f9e fix: use same python and nginx image 2020-08-06 22:38:52 +05:30
Revant Nandgaonkar
6b94d991e2 fix: add nodejs via nvm 2020-08-05 21:40:37 +05:30
Revant Nandgaonkar
56bf984ef7 fix: erpnext image build
frappe/erpnext MUST be in editable mode
output migration log in test
2020-06-28 07:40:33 +05:30
Revant Nandgaonkar
e6946fda75 fix: erpnext image build
set PYTHONUNBUFFERED for better logging
2020-06-28 05:58:45 +05:30
Revant Nandgaonkar
f5071122ed fix: erpnext image build
improve travis.py
python packages not installed in editable mode
use venv module instead of virtualenv
2020-06-28 05:55:15 +05:30
Revant Nandgaonkar
7106124a07 refactor: reuse Dockerfile(s) 2020-06-27 23:44:13 +05:30
Revant Nandgaonkar
b057e12bdc update: use wkhtmltopdf for buster_amd64 2020-05-19 12:10:09 +05:30
Revant Nandgaonkar
05cb6a4596 build v13-beta images 2020-05-02 00:21:56 +05:30
Revant Nandgaonkar
2422fbad26 fix: backup and restore
create backup dir in worker images
set ownership and mount volume for backups
update readme about restore backup
2020-03-27 16:41:32 +05:30
Revant Nandgaonkar
8475af3785 fix(frappe-worker): set sites volume ownership 2020-03-17 22:31:37 +05:30
chabad360
177ca58af6 add and implement install_app for worker image 2020-03-04 02:52:36 +00:00
Revant Nandgaonkar
242708df0c refactor: reuse common scripts and files
move common scripts to build/common
2020-02-20 18:01:23 +05:30
Chinmay D. Pai
347b94dee2
chore: fixes to shell scripts
* envsubst: expression may fail to expand in single quotes
* use (()) instead of let
* use find instead of ls to better hand alphanumeric folders

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 12:33:52 +05:30
Chinmay D. Pai
3b5f829248
chore: remove unused update.py
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 12:09:51 +05:30
Chinmay D. Pai
0910278efd
feat: add support to start bench console
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 12:08:51 +05:30
Revant Nandgaonkar
e1e1c6b6f9 refactor: rename images
erpnext-assets - ERPNext nginx config + static assets
erpnext-worker - ERPNext python environment
frappe-assets - Frappe nginx config + static assets
frappe-worker - Frappe python environment
frappe-socketio - Frappe socketio process common for apps
2020-02-17 20:35:54 +05:30