Closed FLO-2DKaren closed 1 month ago
Hi Robson,
I think you can lighten your docker package if you don't install QGIS gui. For unit testing, I think you only need this:
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y --no-install-recommends \ python3-qgis \ python3-pyqt5 \ python3-pip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*
Skip the qgis and qgis-plugin-grass packages if you don’t need the graphical interface or GRASS integration.
I think that the QGIS interface we need (because of the iface instance that is required in some functions). The grass I'm not totally sure. I can try.
Closing this.
Hi Robson,
I think you can lighten your docker package if you don't install QGIS gui.
For unit testing, I think you only need this:
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y --no-install-recommends \ python3-qgis \ python3-pyqt5 \ python3-pip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*
Skip the qgis and qgis-plugin-grass packages if you don’t need the graphical interface or GRASS integration.