I just saw that if I install nginx in an container with alpine:latest image then the http_v3_module is not available.
But when I use the nginx:alpine container then this module is already there.
Anyway it would be interesting to know why the compilation with boringssl does not work.