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

Set platform in docker compose #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cristianstanescu
Copy link

Trying to use docker compose on an M1 caused this error:

=> [internal] load build definition from Dockerfile                                                                                          0.0s
 => => transferring dockerfile: 32B                                                                                                           0.0s
 => [internal] load .dockerignore                                                                                                             0.0s
 => => transferring context: 2B                                                                                                               0.0s
 => ERROR [internal] load metadata for docker.io/library/eclipse-temurin:11-jdk-alpine                                                        0.6s
------
 > [internal] load metadata for docker.io/library/eclipse-temurin:11-jdk-alpine:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:8368526729a4fa4275807761f51770c505a16c8dcad969609d7644de9dab9367: not found

This PR fixes the issue by setting the platform parameter.

Furthermore, add a variable in the docker compose config to allow overriding the GraphDB version to install. I used the same name as in the preload config for consistency.

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 this pull request may close these issues.

1 participant