GithubHelp home page GithubHelp logo

merkatorgis / docker4gis Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 36.0 317.46 MB

Extensible linked Docker images for common GIS components.

Home Page: https://www.merkator.com

License: GNU General Public License v3.0

Shell 57.98% Dockerfile 18.16% HTML 0.64% Go 11.99% PLpgSQL 6.48% JavaScript 1.01% Python 0.36% PHP 3.37%

docker4gis's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker4gis's Issues

Support different "flavours" of base components

Have dg build of base components read an optional list of build-arg values, so that it builds and pushes different versions of the base component image.
E.g. docker4gis/dotnet:v0.0.12-6.0.16 and docker4gis/dotnet:v0.0.12-7.0.203,
and docker4gis/postgis:v0.0.9-15-3.3 and docker4gis/postgis:v0.0.9-14-2.5.

maven/tomcat/build.sh: No POM in directory when running from git bash

This is the error I get when running a script that uses base/maven/tomcat/build.sh. The error only occurs in git bash and after reading commits I saw a fix for WSL2. That is why I tried to run the script in WSL2 and this also was the solution.

image

Probable cause:

Commit f99ad5d added sudo to the mv command, but at least my git bash doesn't seem to have the command sudo because the bash emulator default runs on root.

Solution:
Run in WSL2.

proxy: support X-Script-Name header

You should add some additional headers to let mapproxy know it is being accessed through a proxy, so that it can generate a correct getcapabilities xml. See also mapproxy documentation.
the template URL in the getcapabilities contains the redirected http://{docker-containername} when it should contain the original base-url

limit large logging from container

Hi Wouter,
This is just a suggestion.
Docker does not limit the logging by default, so it can get very large, you can change some settings to limit it, but you can also limit the logging when you start a container.
so my suggestion is to add this for the mapproxy as part of the run command
--log-opt max-size=10m --log-opt max-file=5 \

proxy: support multiple host names

Should be easy for the certificates part, using the existing acme client.
Might be tricky for the routing part and other images depending on the PROXY_HOST variable.

Support Mac OSX

The run script fails on Mac, complaining about the mktemp command

Better support multi-stage builds

E.g. in the .NET component (https://github.com/merkatorgis/docker4gis-dotnet).
Currently, the template Dockerfile start with FROM xxx/dotnet/sdk:xxx as builder, followed by the instructions needed to copy in and compile the sources, then FROM docker4gis/dotnet:xxx, followed by COPY --from=builder xxx xxx.
Would be nice, if even possible (but I doubt it...), to have the build instructions as ONBUILD in the builder image, and have the template Dockerfile just do:

FROM xxx/dotnet/sdk:xxx as builder
FROM docker4gis/dotnet:xxx
COPY --from=builder xxx xxx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.