Visual-Regression-Tracker / backend

Apache License 2.0
12 stars 12 forks source link

๐Ÿฉน Use debian base image to allow using odiff as diffing backend (#297) #298

Closed pashidlos closed 1 month ago

pashidlos commented 1 month ago

Odiff isn't ABI compatible with musl-libc (alpine) and thus causes crashes when called. Where as debian uses gnu-libc which is compatible with the odiff binaries.

Ref.: https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements

Using the same base image for migration and the API might reduce debugging afford for bugs related to prisma alpine/debian differences (i.e. binaryTargets)

This fixes the error: "docker-compose: command not found"

pashidlos commented 1 month ago

@s-weigand thanks for PR ! make it within organisation instead of personal fork for CI to work properly