Thank for you all. Yes, the -silent comman line argument works, but it seems now the zap can not install the add-ons for example for jython scripts and I need this add-on for my scripts.
So my question is how I could use pre-downloaded add-ons without building a new zap image, as the image building did not work for me either.
This is the zap part of my docker-compose file:
zap:
container_name: owasp-zap
image: owasp/zap2docker-weekly
command: zap.sh -daemon -port 8090 -host 0.0.0.0 -configfile "/my_zap/zap-config.prop" -addoninstall openapi -addoninstall jython -addoninstall formhandler
volumes:
- ./:/my_zap
env_file: ./zap.env
Thank you,
Orsolya