Dockerfile
FROM
ENV username = xyz
ENV password = abc
I am passing the username and password inside ENV instruction and getting a vulnerability of exposing the sensitive env variables.
How can I mitigate this vulnerability. Is there any other possible way to pass these credentials. I am using jenkins to build the image but getting a vulnerability compliance in twistlock.
These credentials are also important and necessary.