AKSW / RDFUnit

An RDF Unit Testing Suite
http://RDFUnit.aksw.org
Apache License 2.0
150 stars 42 forks source link

Edit the Dockerfile to use a jar and multi stage build. #99

Closed vemonet closed 4 years ago

vemonet commented 4 years ago

Edit the Dockerfile to use a jar and multi stage build.

Description

Motivation and Context

It allows to avoid issue when the docker runtime is using a different workdir by default (which cause the mvn java:exec to fail) Allows to run it using:

Issue: https://github.com/AKSW/RDFUnit/issues/98

How Has This Been Tested?

Tested on Ubuntu 18.04. Part of a workflow containing other components:

mkdir -p /data/dqa-workspace/output/tmp-outdir
sudo chown -R ${USER}:${USER} /data/dqa-workspace

git clone https://github.com/MaastrichtU-IDS/d2s-cwl-workflows
cd d2s-cwl-workflows

cwl-runner \
  --outdir /data/dqa-workspace/output \
  --tmp-outdir-prefix=/data/dqa-workspace/output/tmp-outdir/ \
  --tmpdir-prefix=/data/dqa-workspace/output/tmp-outdir/tmp- \
  workflows/workflow-dqa.cwl \
  support/config-cwl-dqa.yml

Screenshots (if appropriate):

Types of changes

Checklist:

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 54.365% when pulling b38d524c1e516a7c52a2eb4f8c1b2a58b3a0e161 on vemonet:develop into c8ae88a206160ef5d61ac01652ab70b8cbbadb9b on AKSW:master.

jimkont commented 4 years ago

Thank you for your contribution @vemonet