Environment:
Description of the issue:
The java application is run as root user, the dockerfile initializes for a different user.
The application is failing due to the wrong user context, in this specific case the base image is selenium/node-firefox and user is seluser.
Expected behavior:
The java application is run as the user specified by the Dockerfile.
Steps to reproduce:
Hi @joerg1985,
Thank you for reporting this. I can reproduce this. We should fix this as a high priority.
As a workaround, you can set <container><user>seluser</user></container> or the system property jib.container.user (e.g., -Djib.container.user=seluser on the command-line).
@joerg1985 is this regression you're noticing, did it used to work with older versions?
@joerg1985 Jib 2.3.0 is released with this fix!
Most helpful comment
@joerg1985 Jib 2.3.0 is released with this fix!