I need to add a repository using zypper that requires authentication from a Dockerfile. I'm able to add it, but of course, when I try to run
zypper -n refresh
It fails because the authentication failed.
What is the normal approach to automate the authentication process? Didn't find a good answer while "googling".