merkatorgis / docker4gis Goto Github PK
View Code? Open in Web Editor NEWExtensible linked Docker images for common GIS components.
Home Page: https://www.merkator.com
License: GNU General Public License v3.0
Extensible linked Docker images for common GIS components.
Home Page: https://www.merkator.com
License: GNU General Public License v3.0
This is considered core functionality and will be restored with high priority.
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
.
Deze optie sluit dan alle lopende containers van het project.
On dg component
;
Line 225 in f0dd4d3
When running a second app, after the proxy container is created.
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.
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.
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
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 \
So that you don't have to edit it to get things to build from the start.
ie:
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.
The run script fails on Mac, complaining about the mktemp command
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.