Or just download the jdk normally, accept license, create your own docker image with the jdk fully installed and you are ready to go.
Not breaking any laws here (or even licence agreements, there's a difference you know!), so please change the silly headline.