-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
executable file
·28 lines (21 loc) · 1.12 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM debian:bullseye-slim
ENV LANG=en_EN.UTF-8
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests --allow-unauthenticated -y \
gnupg \
software-properties-common \
wget \
&& mkdir -m755 -p /etc/apt/keyrings \
&& wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/qgis-archive-keyring.gpg] https://qgis.org/debian bullseye main" | tee /etc/apt/sources.list.d/qgis.list \
&& apt-get update \
&& apt install --no-install-recommends --no-install-suggests --allow-unauthenticated -y \
python3-qgis \
qgis \
qgis-plugin-grass
RUN apt-get install --no-install-recommends --no-install-suggests --allow-unauthenticated -y saga
RUN apt-get install --no-install-recommends --no-install-suggests --allow-unauthenticated -y python3-pip
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir geopandas
RUN apt-get install --no-install-recommends --no-install-suggests --allow-unauthenticated -y make
CMD ["qgis"]