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

Unable to get GQ working in Docker container #318

Open
dreadheadnz opened this issue Oct 31, 2024 · 0 comments
Open

Unable to get GQ working in Docker container #318

dreadheadnz opened this issue Oct 31, 2024 · 0 comments

Comments

@dreadheadnz
Copy link

dreadheadnz commented Oct 31, 2024

Kia ora from New Zealand

First of all, love the app!

I'm trying to get it running in a Docker container using the gitlab pipeline, but can't work the Dockerfile out.

Specifically, the Container folder isn't anywhere in the repo, so I'm not sure what this is supposed to be copying in to the container, and it's throwing an error

# Copy station database and configuration files
COPY Container ./.GlobalQuakeServerData

# Copy CUDA library
COPY GQHypocenterSearch/build/lib ./lib

I have found the github workflow folder, and have incorperated building using maven into the .gitlab-ci.yml file, but still don't understand the reference to Container in the Dockerfile.

Any thoughts or insights would be appreciated!

Cheers

Edit: This is where it trips up


#10 [8/9] COPY GQHypocenterSearch/build/lib ./lib
#10 ERROR: failed to calculate checksum of ref ed546bbc-a5bb-4205-b73b-68c7fdc9905d::qiwvxp4ugkm7jfwzrx719ccao: "/GQHypocenterSearch/build/lib": not found
#11 [7/9] COPY Container ./.GlobalQuakeServerData
#11 ERROR: failed to calculate checksum of ref ed546bbc-a5bb-4205-b73b-68c7fdc9905d::qiwvxp4ugkm7jfwzrx719ccao: "/Container": not found
#12 [1/9] FROM docker.io/library/ubuntu:22.04@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97
#12 resolve docker.io/library/ubuntu:22.04@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 0.0s done
#12 sha256:97271d29cb7956f0908cfb1449610a2cd9cb46b004ac8af25f0255663eb364ba 2.30kB / 2.30kB done
#12 sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 6.69kB / 6.69kB done
#12 sha256:3d1556a8a18cf5307b121e0a98e93f1ddf1f3f8e092f1fddfd941254785b95d7 424B / 424B done
#12 CANCELED
------
 > [7/9] COPY Container ./.GlobalQuakeServerData:
------
------
 > [8/9] COPY GQHypocenterSearch/build/lib ./lib:
------
Dockerfile:32
--------------------
  30 |     
  31 |     # Copy CUDA library
  32 | >>> COPY GQHypocenterSearch/build/lib ./lib
  33 |     
  34 |     RUN chown -R user:group ./.GlobalQuakeServerData &&  \
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref ed546bbc-a5bb-4205-b73b-68c7fdc9905d::qiwvxp4ugkm7jfwzrx719ccao: "/GQHypocenterSearch/build/lib": not found
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

No branches or pull requests

1 participant