How to make wget run in docker

It turns out that the problem comes from using MAC M1 Apple Chip !!!
Upgraded to openjdk:19-alpine and things work normally now, with the same Dockerfile content.