Christian Wahl Running Apache Fop In Docker Github Pages
This is the Git repo for the Docker image chrwahl/fop — a Docker image for running Apache™ FOP. You can either build your own Docker image or you can pull the image from Docker Hub. If you build your own image you can replace "chrwahl/fop" with "fop" in the following commands. The XSL-FO document is a XML document with the namespace http://www.w3.org/1999/XSL/Format. With the above XSL-FO document saved as helloworld.fo, run the following command to genereate a PDF file: One of my interests is XML and with that interest, a tail of related technologies.
Over the years I have spend a lot of time on XSL transforming “stuff”. From time to time I have also used Apache FOP, a tool for generating PDF files from XML using XSL formatting objects (XSL-FO). This tool require Java – like everything else – back then. But now, not so much. So, actually I don’t have Java installed. The question is: how can I run FOP without all the hassle of installing Java?
Here Docker comes to the rescue. From previous experiences with FOP I knew that I needed Sun/Oracle Java. I don’t know the details, but fortunately FOP version 2.5 can also run under OpenJDK. This made it even easier to get up and running. Before getting into the details – this is the final Dockerfile: With the Docker file in place an image can be build:
The container based on the image will just run as long as the process is running: © 2025 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal Linux System Administrator and Web Developer. Based on my previous post about building Apache FOP in a Docker image, I now have my first image on Docker Hub.
It is more or less a copy of the Dockerfile from the post, so what is new? First of all it is now easier to make use of the Docker image be course it is already build. You just need to pull the image: And then you are ready for generating PDF files: Second, the build process also includes a repository on Github. For now I just have one Dockerfile, but I would like to extend the project with more, so that different versions of FOP can be installed.
© 2025 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal Everything you need to start using and appreciating Apache™ FOP quickly. The goal of this Quick Start Guide is to help novice users get Apache FOP up and running quickly. Typically, you'll need to:
Build FOP (you can skip this step if you download the binary distribution!) Here are some links to help you find out what FOP can do, as well as how and where to get help: XSL-FO Compliance (what FOP supports and what it doesn't) There was an error while loading. Please reload this page.
People Also Search
- GitHub - chrwahl/docker-fop: Docker image for running Apache FOP
- Christian Wahl - Running Apache FOP in Docker - GitHub Pages
- chrwahl/fop - Docker Image | Docker Hub
- chrwahl (Christian Wahl) · GitHub
- Christian Wahl - My first Docker image on Docker Hub
- fpco/docker-fop - Docker Image
- Run a simple Apache server in a docker container - Medium
- Apache (tm) FOP: Quick Start Guide
- Deploying an Apache Web Server in a Docker Container: Step-by ... - Medium
- docker-fop/Dockerfile at master · chrwahl/docker-fop · GitHub
This Is The Git Repo For The Docker Image Chrwahl/fop
This is the Git repo for the Docker image chrwahl/fop — a Docker image for running Apache™ FOP. You can either build your own Docker image or you can pull the image from Docker Hub. If you build your own image you can replace "chrwahl/fop" with "fop" in the following commands. The XSL-FO document is a XML document with the namespace http://www.w3.org/1999/XSL/Format. With the above XSL-FO document...
Over The Years I Have Spend A Lot Of Time
Over the years I have spend a lot of time on XSL transforming “stuff”. From time to time I have also used Apache FOP, a tool for generating PDF files from XML using XSL formatting objects (XSL-FO). This tool require Java – like everything else – back then. But now, not so much. So, actually I don’t have Java installed. The question is: how can I run FOP without all the hassle of installing Java?
Here Docker Comes To The Rescue. From Previous Experiences With
Here Docker comes to the rescue. From previous experiences with FOP I knew that I needed Sun/Oracle Java. I don’t know the details, but fortunately FOP version 2.5 can also run under OpenJDK. This made it even easier to get up and running. Before getting into the details – this is the final Dockerfile: With the Docker file in place an image can be build:
The Container Based On The Image Will Just Run As
The container based on the image will just run as long as the process is running: © 2025 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal Linux System Administrator and Web Developer. Based on my previous post about building Apache FOP in a Docker image, I now have my first image on Docker Hub.
It Is More Or Less A Copy Of The Dockerfile
It is more or less a copy of the Dockerfile from the post, so what is new? First of all it is now easier to make use of the Docker image be course it is already build. You just need to pull the image: And then you are ready for generating PDF files: Second, the build process also includes a repository on Github. For now I just have one Dockerfile, but I would like to extend the project with more, ...