-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10181 from camptocamp/new-qgis
Updates for QGIS
- Loading branch information
Showing
12 changed files
with
35 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,8 @@ jobs: | |
matrix: | ||
version: | ||
# Last LTR | ||
- '3.22' | ||
- '3.28' | ||
- latest | ||
- master | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ LABEL maintainer Camptocamp "[email protected]" | |
# Print commands and their arguments as they are executed. | ||
SHELL ["/bin/bash", "-o", "pipefail", "-cux"] | ||
|
||
# Fix for newer version of setuptools | ||
# Workaround for newer version of setuptools | ||
ENV SETUPTOOLS_USE_DISTUTILS=stdlib | ||
|
||
RUN --mount=type=cache,target=/var/lib/apt/lists \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,11 @@ ARG VERSION | |
FROM camptocamp/qgis-server:${VERSION} AS base-all | ||
LABEL maintainer Camptocamp "[email protected]" | ||
|
||
# Fail on error on pipe, see: https://github.com/hadolint/hadolint/wiki/DL4006. | ||
# Treat unset variables as an error when substituting. | ||
# Print commands and their arguments as they are executed. | ||
SHELL ["/bin/bash", "-o", "pipefail", "-cux"] | ||
|
||
# Used to convert the locked packages by poetry to pip requirements format | ||
# We don't directly use `poetry install` because it force to use a virtual environment. | ||
FROM base-all as poetry | ||
|
@@ -26,9 +31,11 @@ RUN --mount=type=cache,target=/var/lib/apt/lists \ | |
--mount=type=bind,from=poetry,source=/tmp,target=/poetry \ | ||
apt-get update \ | ||
&& apt-get upgrade --assume-yes \ | ||
&& apt-get install --assume-yes --no-install-recommends libpython3-dev libpq-dev gcc \ | ||
&& apt-get install --assume-yes --no-install-recommends cython3 python3-dev libpq-dev gcc \ | ||
&& ln -s /usr/bin/cython3 /usr/bin/cython \ | ||
&& PIP_NO_BINARY=shapely pip install --disable-pip-version-check --no-deps --requirement=/poetry/requirements.txt \ | ||
&& apt-get remove --assume-yes libpython3-dev libpq-dev gcc | ||
&& rm /usr/bin/cython \ | ||
&& apt-get remove --assume-yes cython3 python3-dev libpq-dev gcc | ||
|
||
############################################################################################################# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters