Closed josopu closed 1 month ago
Instead of installing an additional package that everyone who uses this image may not want, build a custom image with a Dockerfile like this?
FROM odoo:17
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
fail2ban \
&& rm -rf /var/lib/apt/lists/*
USER odoo
May i ask: what attacks are you trying to prevent here?
I just like to safeguard all my exposed services.
I just like to salve guard all my exposed services.
In the Odoo Docker image the only exposed service is Odoo itself. No other service, like for example SSH, is running. So no need to protect anything
I'd like to protect Odoo itself
I am trying to add fail2ban to the docker, but it would be amazing to have it included on the docker image.