trilogy-libraries / trilogy

Trilogy is a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding.
MIT License
700 stars 69 forks source link

Provide explicit docker-compose platform for Apple Silicon #123

Closed bensheldon closed 1 year ago

bensheldon commented 1 year ago

There is (still) not yet a mysql:8.0-debian image compatible with linux/arm64/v8, which prevents docker-compose.yml from building on Apple Silicon / M1, etc. processors.

no matching manifest for linux/arm64/v8 in the manifest list entries

This PR sets an explicit platform so that Docker will use the x86_64 image with emulation.

dbussink commented 1 year ago

There is (still) not yet a mysql:8.0-debian image compatible with linux/arm64/v8

The official Oracle images are on Oracles container registry, see https://lefred.be/content/where-to-find-official-mysql-container-images/. So maybe that should be used? There are aarch64 images available there.