How can I use docker login to a private registry or Jenkins in a dockerfile?
I want to use docker login each time a build is run from an image
I wanted to use the FROM instruction on the first part of the file to reference an images that I have in Jenkins , but want to use docker login ??? I guess to authenticate to Jennkins EACH time that I start the image I alos want to protect the password as well , how can I do this
Thanks in advance