PDAL was available as Bullseye Debian package but has been unavailable since. This project aims at re-creating the package for current Debian releases, officially or unofficially.
Dockerfile.bookworm-PDAL-2.7.2
, asserting that the upstream project can be built on Debian, and with which dependenciesGiven a specific version of PDAL and a specific Debian release, there is a Dockerfile with all dependencies and build steps:
buildah bud -f Dockerfile.bookworm-PDAL-2.7.2
(You may need to run buildah login ghcr.io
before, to access the base image.)
If the Dockerfile build fails, comment out the the failing step and all lines below in the Dockerfile, rerun it, and the enter the container to debug manually:
podman run --rm -it <TAG or HASH>
Enter the container and rerun the failing test manually. PDAL uses googletest, so you can rerun all the tests manually on the command line, with all the options of the googletest runner are available.
E.g. if during the build you see:
106/131 Test #106: pdal_filters_shell_test ......................***Failed 0.08 sec
the failing test is pdal_filters_shell_test
, so you would then execute, in the container in the work directory /PDAL/
:
./build/bin/pdal_filters_shell_test
Since this project uploads images to ghcr.io
, some token is required. The current GitHub instructions are:
Here we save the token as a repository secret named PACKAGE_WRITE_TOKEN
.