dajobe / raptor

Redland Raptor RDF syntax library
https://librdf.org/raptor/
Other
156 stars 62 forks source link

WIP: Add Dockerfile with alpine and debian-slim baseimage #54

Open white-gecko opened 2 years ago

white-gecko commented 2 years ago

With is pullrequest Dockerfiles are added that could be used to build official docker images.

Thank you: https://github.com/dajobe/raptor/issues/47#issuecomment-1041587883

white-gecko commented 1 year ago

Actually I get a Segmentation fault (core dumped) when I do a rapper -i turtle -o ntriples file.ttl on the simplest file, with just the line:

<urn:a> <urn:b> <urn:c> .

but I can't find out why. Am I doing something wrong with the build environment in the docker image? (both on debian and alpine). Are there any further dependencies missing?

dajobe commented 1 year ago

I don't know what's wrong just from skimming the Dockerfiles but I'm guessing there are some missing or different runtime dependencies. Maybe check the logs for the end of the './configure' run which tells you how libraptor is built and linked.

As for official Debian, raptor2 debs are already in Debian.