AKSW / RDFUnit

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

Unable to build project using docker. #95

Closed AchoArnold closed 4 years ago

AchoArnold commented 5 years ago

Expected Behavior

Docker build should be successfull

Actual Behavior

Docker build fails with message E: Sub-process /usr/bin/dpkg returned an error code (1)

Steps to Reproduce the Problem

  1. clone the repository
  2. run docker build -t rdfunit .

Specifications

Full Logs

https://gist.github.com/AchoArnold/f1508dc75bff86e890a492a9e3aee090

lisa-wen commented 5 years ago

I experienced the same behavior under Debian. Adding the following line before apt-get install maven:

mkdir -p /usr/share/man/man1mkdir -p /usr/share/man/man1

solved it for me.

(Got it from here: https://github.com/nextcloud/docker/issues/380)

jimkont commented 4 years ago

Thanks, @lisa-wen I applied your suggestion to fix the issue

@AchoArnold can you confirm that this solution works

AchoArnold commented 4 years ago

Hello @jimkont,

I can confirm that this solves the issue. But I think you omitted RUN in the dockerfile. https://github.com/AKSW/RDFUnit/pull/96

jimkont commented 4 years ago

when you edit directly from github without testing :man_facepalming: :)