forked from g3w-suite/g3w-suite-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.g3wsuite-deps.ltr.dockerfile
34 lines (33 loc) · 1.11 KB
/
Dockerfile.g3wsuite-deps.ltr.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
29
30
31
32
33
34
FROM ubuntu:bionic
# This image is available as g3wsuite/g3w-suite-deps:latest-ltr
LABEL maintainer="Gis3w" Description="This image is used to prepare build requirements for g3w-suite docker images" Vendor="Gis3w" Version="1.2"
ENV DEBIAN_FRONTEND=noninteractive
RUN chown root:root /tmp && chmod ugo+rwXt /tmp
RUN apt-get update && apt install -y \
libxml2-dev \
libxslt-dev \
postgresql-server-dev-all \
libgdal-dev \
python3-dev \
libgdal20 \
python3-gdal \
python3-pip \
curl \
wget \
vim \
wait-for-it \
gdal-bin \
libsqlite3-mod-spatialite \
dirmngr \
xvfb
# PyQGIS 3.10
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key F7E06F06199EF2F2 && \
echo "deb [arch=amd64] https://qgis.org/ubuntu-ltr bionic main" >> /etc/apt/sources.list && \
apt update && apt 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
RUN apt-get update && apt install -y yarn
RUN mkdir /code
WORKDIR /code