Merge #2539
2539: Upgrade alpine, make setup use the base image r=mergify[bot] a=nextgens ## What type of PR? enhancement ## What does this PR do? Upgrade alpine, make setup use the base image, introduce a health-check, drop privileges. Drop privileges on admin too. It may or may not help #2536 Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>main
commit
6a3daa75ac
@ -1,12 +0,0 @@
|
||||
Flask==1.0.2
|
||||
Flask-Bootstrap==3.3.7.1
|
||||
gunicorn==19.9.0
|
||||
redis==3.2.1
|
||||
Jinja2==3.0.3
|
||||
MarkupSafe==2.1.0
|
||||
Werkzeug==2.0.3
|
||||
click==8.0.3
|
||||
dominate==2.6.0
|
||||
itsdangerous==2.0.1
|
||||
redis==3.2.1
|
||||
visitor==0.1.3
|
@ -0,0 +1,7 @@
|
||||
# GTUBE should be blocked, see https://rspamd.com/doc/gtube_patterns.html
|
||||
python3 tests/email_test.py "XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X"
|
||||
if [ $? -eq 25 ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
@ -0,0 +1 @@
|
||||
Upgrade to Alpine 3.16.3; Make setup, admin and rspamd run without root privs. Please ensure that your folder overrides/rspamd is owned by 1000:1000
|
Loading…
Reference in New Issue