Docker Images Build Issue with -race flag / Problème de construction des images Docker avec le paramètre -race #416
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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