Docker image for webservice
We want to use RDFUnit in our project, for this I like to containerize the RDFUnit webservice. I like to commit my work here, so I have following questions:
- On which branch/tag should I base my work?
- Should I create a separate Dockerfile or extend the existing one?
Ich benutze das vom AKSW. Beispiel:
image 'aksw/rdfunit'
args '--entrypoint=""
steps {
// Cleanup of files from last job
sh 'rm -fr temp_ infered_classes.owl oops_result.xml OOPS_result.xml result.xml reports.txt all_reports.txt RDFUnit_errors_.txt RDFUnit_errors.txt RDFUnit_results.jsonld repo_clon'
// Run RDFUnit
sh 'java -jar /app/rdfunit-validate.jar -d ./MatVoc-Core.ttl -f /tmp/ -o json-ld -s owl,rdfs'
// copy results to workdir and print it out
sh 'cp /tmp/results/._MatVoc-Core.ttl.aggregatedTestCaseResult.jsonld ./RDFUnit_results.jsonld'
sh 'cat ./RDFUnit_results.jsonld'
}
@TBoonX Wie funktioniert das als webservice?
Ich wollte den im wiki beschrieben Webservice verwenden.
@BonaBeavis Sorry ich dachte ich bin im internen Gitlab, deswegen die knappe Antwort. Ich bin kein maintainer dieses Repos, ich gehöre nur zur AKSW. Zum Webservice habe ich keine Erfahrung.