wisemapping/wisemapping-open-source

Docker build not working

Closed this issue · 3 comments

Reproduction:

  • Cloned latest wisemapping-open-source
  • Executed docker compose up -d --build
  • Error:
wisemapping/docker-compose.yml: `version` is obsolete 
[+] Building 0.7s (6/6) FINISHED                                                                                                 docker:default
 => [wise-api internal] load build definition from Dockerfile                                                                              0.1s
 => => transferring dockerfile: 276B                                                                                                       0.0s
 => [wise-api internal] load metadata for docker.io/library/amazoncorretto:21.0.2                                                          0.4s
 => [wise-api internal] load .dockerignore                                                                                                 0.0s
 => => transferring context: 2B                                                                                                            0.0s
 => [wise-api internal] load build context                                                                                                 0.1s
 => => transferring context: 2B                                                                                                            0.0s
 => [wise-api 1/2] FROM docker.io/library/amazoncorretto:21.0.2@sha256:3a2ed04334a85a6b790b557c27c67bcf50c8a6e5407ea795592ed31c519840e5    0.1s
 => => resolve docker.io/library/amazoncorretto:21.0.2@sha256:3a2ed04334a85a6b790b557c27c67bcf50c8a6e5407ea795592ed31c519840e5             0.1s
 => ERROR [wise-api 2/2] COPY target/wisemapping-api.jar wisemapping-api.jar                                                               0.0s
------
 > [wise-api 2/2] COPY target/wisemapping-api.jar wisemapping-api.jar:
------
failed to solve: failed to compute cache key: failed to calculate checksum of ref 065fa721-f238-43c3-a12b-643248e10379::p60r3g7tnuzxspjgiwu05h6cb: failed to walk /var/lib/docker/tmp/buildkit-mount2919711748/target: lstat /var/lib/docker/tmp/buildkit-mount2919711748/target: no such file or directory

I would assume there is a problem with buildkit, but I didn't work with that before. Does anyone know how to resolve this error?

Also, the readme tells me to have a look at a "docker section" that does not exist (broken link)

Hi !. I'm in progress of updating the readme. There was major change and the documentation is not reflecting it. I will be working on this in the next upcoming days.

I've updated the readme with additional details. It should help you to unblock. More details will be added soon.