-
Notifications
You must be signed in to change notification settings - Fork 61
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 #70 from kartoza/upgrade
Update configs and version
- Loading branch information
Showing
15 changed files
with
326 additions
and
267 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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------ | ||
ARG IMAGE_VERSION=3.11.5 | ||
ARG IMAGE_VERSION=3.13.0 | ||
FROM python:${IMAGE_VERSION} | ||
MAINTAINER Tim Sutton<[email protected]> | ||
|
||
|
@@ -9,24 +9,29 @@ ARG MAPPROXY_VERSION='' | |
RUN apt-get -y update && \ | ||
apt-get install -y \ | ||
gettext \ | ||
python3-yaml \ | ||
libgeos-dev \ | ||
python3-lxml \ | ||
libgdal-dev \ | ||
build-essential \ | ||
python3-dev \ | ||
libjpeg-dev \ | ||
libgeos-dev \ | ||
zlib1g-dev \ | ||
libfreetype6-dev \ | ||
python3-dev \ | ||
python3-lxml \ | ||
python3-yaml \ | ||
python3-virtualenv \ | ||
python3-pil \ | ||
python3-pyproj \ | ||
python3-shapely \ | ||
figlet \ | ||
gosu awscli; \ | ||
# verify that the binary works | ||
gosu nobody true | ||
RUN pip3 --disable-pip-version-check install Shapely Pillow MapProxy${MAPPROXY_VERSION} uwsgi pyproj boto3 s3cmd \ | ||
requests riak==2.4.2 redis numpy | ||
|
||
RUN ln -s /usr/lib/libgdal.a /usr/lib/liblibgdal.a | ||
ADD build_data/requirements_template.txt /settings/requirements_template.txt | ||
RUN export MAPPROXY_VERSION=${MAPPROXY_VERSION} && envsubst < /settings/requirements_template.txt > /settings/requirements.txt | ||
RUN pip3 --disable-pip-version-check install -r /settings/requirements.txt | ||
|
||
|
||
# Cleanup resources | ||
RUN apt-get -y --purge autoremove \ | ||
|
@@ -42,4 +47,3 @@ RUN chmod +x /scripts/*.sh | |
RUN echo 'figlet -t "Kartoza Docker MapProxy"' >> ~/.bashrc | ||
|
||
ENTRYPOINT [ "/scripts/start.sh" ] | ||
CMD [ "/scripts/run_develop_server.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Shapely | ||
Pillow | ||
MapProxy${MAPPROXY_VERSION} | ||
uwsgi | ||
pyproj | ||
boto3 | ||
s3cmd | ||
requests | ||
riak==2.4.2 | ||
redis | ||
numpy | ||
azure-storage-blob |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '3.9' | ||
|
||
volumes: | ||
minio_data: | ||
|
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '3.9' | ||
volumes: | ||
mapproxy_cache_data: | ||
services: | ||
|
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '3.9' | ||
|
||
services: | ||
map: | ||
|
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '3.9' | ||
|
||
services: | ||
map: | ||
|
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: '3.9' | ||
|
||
volumes: | ||
minio_data: | ||
services: | ||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.