Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zip file for download does not contain the querqy libraries #29

Closed
david-fisher opened this issue May 19, 2022 · 3 comments · Fixed by #30
Closed

zip file for download does not contain the querqy libraries #29

david-fisher opened this issue May 19, 2022 · 3 comments · Fixed by #30
Assignees

Comments

@david-fisher
Copy link
Contributor

david-fisher commented May 19, 2022

Attempts to build using the docker.sh (or docker-compose up) produce an error:

dfisher@earthsea solr-tmdb-master % docker-compose up
[+] Building 1.3s (8/8) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 516B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/solr:8.11.1 1.2s
=> [auth] library/solr:pull token for registry-1.docker.io 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 2B 0.0s
=> CANCELED [1/3] FROM docker.io/library/solr:8.11.1@sha256:3a133043d41b 0.0s
=> => resolve docker.io/library/solr:8.11.1@sha256:3a133043d41bd2e5cbcba 0.0s
=> => sha256:3a133043d41bd2e5cbcba254c55a411b69dd253d5e2d8c8 549B / 549B 0.0s
=> => sha256:ad074897320306b910603f21996d0aea3e4174a0082 2.63kB / 2.63kB 0.0s
=> => sha256:5301008b13d28ce3eeb395e6b0e41662bcd1beb22 15.76kB / 15.76kB 0.0s
=> ERROR [2/3] COPY ./lib/querqy-solr-5.1.lucene810.0-jar-with-dependenc 0.0s
=> ERROR [3/3] COPY ./lib/querqy-regex-filter-1.1.0-SNAPSHOT.jar /opt/qu 0.0s

[2/3] COPY ./lib/querqy-solr-5.1.lucene810.0-jar-with-dependencies.jar /opt/querqy/lib/:



[3/3] COPY ./lib/querqy-regex-filter-1.1.0-SNAPSHOT.jar /opt/querqy/lib/:


failed to solve: failed to compute cache key: failed to walk /var/lib/docker/tmp/buildkit-mount347711749/lib: lstat /var/lib/docker/tmp/buildkit-mount347711749/lib: no such file or directory

@risdenk
Copy link
Contributor

risdenk commented May 19, 2022

FYI @wrigleyDan - This looks like it was introduced in PR #28

@david-fisher
Copy link
Contributor Author

moving the lib folder with the jar files into the docker folder (where Dockerfile lives) resolves the issue. It is a relative path wrt to the build directory.

@david-fisher david-fisher self-assigned this May 19, 2022
@david-fisher david-fisher linked a pull request May 19, 2022 that will close this issue
@epugh epugh closed this as completed in #30 May 19, 2022
@wrigleyDan
Copy link
Contributor

Thanks for catching that one and fixing it @david-fisher!
I somehow did not integrate the libs in PR #28 - no idea how that happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants