FROM odoo:17.0 # Install deps RUN pip install mygeotab # Copy tests directory into the image COPY tests/ /tests/ # Switch to root to set permissions USER root # Set execute permissions and ownership RUN chmod +x /tests/runtests.sh \ && chown -R odoo:odoo /tests # Switch back to the odoo user USER odoo