diggsweden / DCAT-AP-SE-Processor

GNU General Public License v3.0
9 stars 8 forks source link

Docker image build error #6

Closed PeterBoos closed 2 years ago

PeterBoos commented 2 years ago

I'm not entirely sure I'm doing it correctly, but... When I try to build the docker image in the cloned project I get an error.

I'm on a Windows 10 environment using the command docker buildx build --no-cache -t "dcatprocessor" . to build the image. When using docker build --no-cache -t "dcatprocessor" . as instructed in readme the log gets to big and clips out and I can't see the error in the log.

A complete log containing the error has been sent to Jonas Södergren by email. Hopefully he can update this issue with more information and/or solution.

/Peter Böös

jonassodergren commented 2 years ago

Could you start with allowing larger logs for the build. For docker desktop, Docker Desktop -> Preferences -> Docker Engine -> "features": { "buildkit": false }. Then you can see if 'docker build --no-cache -t "dcatprocessor" .' creates the same problem.

PeterBoos commented 2 years ago

Good, thank you for your response. I've tried your suggestion and now i can view the entire log. It seems the errors persists though. New log file sent over email.

jonassodergren commented 2 years ago

@JessicaPry has removed a test case. Now 'docker build' works on windows.

PeterBoos commented 2 years ago

I can confirm the problem seems solved, thank you.