h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
https://fly.io/docs/app-guides/run-a-global-image-service/
MIT License
5.55k stars 456 forks source link

Docker Images Build Issue with -race flag / Problème de construction des images Docker avec le paramètre -race #416

Open leknoppix opened 1 year ago

leknoppix commented 1 year ago

Hello team,

I am planning to open a pull request for the project. I have set up a CI process to rebuild Docker images for AMD64 and aarch64 (arm64) processors during each push. However, I have encountered an issue with the -race flag used in the Dockerfile. Specifically, the original instruction: RUN go test ./... -test.v -race -test.coverprofile=atomic . works fine when replaced with: RUN go test ./... -test.v -test.coverprofile=atomic .

I'll keep researching on ways to maintain the -race flag, but the compilation process is successful in the meantime. I look forward to your guidance on how to proceed with this matter

Bonjour l'équipe, Je prévois d'ouvrir une requête pull pour le projet. J'ai créé un processus CI qui reconstruit les images Docker pour les processeurs AMD64 et aarch64 (arm64) à chaque push. Cependant, j'ai rencontré un problème avec le paramètre -race utilisé dans le Dockerfile. Plus précisément, l'instruction originale: RUN go test ./... -test.v -race -test.coverprofile=atomic . fonctionne correctement lorsqu'il est remplacé par: RUN go test ./... -test.v -test.coverprofile=atomic .

J'irai continuer à chercher des moyens de maintenir le paramètre -race, mais le processus de compilation est succès dans l'attente. J'ai hâte d'avoir votre guidage sur comment procéder avec cette affaire.

leknoppix