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

Docker command in CONTRIBUTING.md has several problems (including Apple Silicon) #2149

Open
dmamonov opened this issue Nov 27, 2024 · 1 comment

Comments

@dmamonov
Copy link

See:
https://github.com/typelevel/doobie/blob/main/CONTRIBUTING.md

part 1

At the first place the documentation suggest to run:

$ docker-compose up -d --force-update 

But (seems) there is no such parameter.

unknown flag: --force-update

Maybe --force-recreate was implied?

part 2
Running just docker-compose up on MacBook Air M1 output:

$ docker-compose up                   
[+] Running 1/2
 ✘ postgres Error                                                                                                                 1.7s 
 ⠧ mysql Pulling                                                                                                                  1.7s 
no matching manifest for linux/arm64/v8 in the manifest list entries

Maybe some other image with Apple Silicon support should be used.

part 3
After updating Docker to the most recent (27-Nov-2024), there is no docker-compose command any more.

Seems docker compose should be used instead.

@dmamonov
Copy link
Author

Suggestion for fix

Use command:

docker compose up -d --force-recreate

Use docker image:

mysql:8.0

instead of mysql:8.0-debian.

@dmamonov dmamonov changed the title Docker command in CONTRIBUTING.md and images are not supporting Apple Silicon Docker command in CONTRIBUTING.md has several problems (including Apple Silicon) Nov 27, 2024
alstepan added a commit to alstepan/doobie that referenced this issue Nov 27, 2024
jatcwang added a commit that referenced this issue Nov 28, 2024
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