Docker Image for CampToCamp's MapFish Print **VERSION 2** legacy
10K+
Docker image and tools for MapFish Print (MFP) VERSION 2 legacy.
This version is still used in quite some contexts.
If you read this on DockerHub, local links will not work, read full README here.
Read more here. Bottom line: this project does not use LogJ2!
With the script build.sh the Docker image can be build
from the Dockerfile but this is not really necessary as
you may use your own docker build commandline.
Build arguments with values if not passed to build:
"Europe/Amsterdam""nl_NL.UTF-8""2.1-SNAPSHOT"I found that 2.1-SNAPSHOT was the highest MFP2 version that worked (for me).
These come from https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/.
If you are able to get a higher version working, let me know, via the issue-tracker.
The files under the config dir are automatically integrated in the Docker image as follows:
You can adapt these or use a prebuilt Docker Image and use Volume mapping or extend the image.
See the examples directory for how to run with your own config. The main things to do are:
web.xml at bottom, use config/webapp/WEB-INF/web.xml as starterExample:
<!-- Example how to configure for your YAML config(s) -->
<servlet>
<servlet-name>mapfish.print.default</servlet-name>
<servlet-class>org.mapfish.print.servlet.MapPrinterServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>config/config.default.yaml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>mapfish.print.default</servlet-name>
<url-pattern>/pdf.default/*</url-pattern>
</servlet-mapping>
Content type
Image
Digest
Size
145.5 MB
Last updated
almost 5 years ago
docker pull justb4/mapfish-print2