-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Dockerfile.ltr.deps
38 lines (34 loc) · 1.15 KB
/
Dockerfile.ltr.deps
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
29
30
31
32
33
34
35
36
37
38
FROM ubuntu:noble
LABEL maintainer="Gis3w" Description="This image is used to prepare build requirements for g3w-suite CI testing" Vendor="Gis3w"
ENV DEBIAN_FRONTEND=noninteractive
RUN chown root:root /tmp && chmod ugo+rwXt /tmp
RUN apt-get update && apt install -y \
git \
libxml2-dev \
libxslt-dev \
libgdal-dev \
python3-dev \
libgdal34t64 \
python3-gdal \
python3-pip \
curl \
wait-for-it \
wget \
vim \
gdal-bin \
libsqlite3-mod-spatialite \
dirmngr \
xvfb \
postgresql-client
# PyQGIS
RUN curl -sS https://download.qgis.org/downloads/qgis-archive-keyring.gpg > /etc/apt/keyrings/qgis-archive-keyring.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/qgis-archive-keyring.gpg] https://qgis.org/ubuntu-ltr noble main" | \
tee /etc/apt/sources.list.d/qgis.list && \
apt-get update && apt-get install -y python3-qgis qgis-server
# Yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | \
tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && apt install -y yarn
RUN mkdir /code
WORKDIR /code