Dockerfile change usergroup without logout/login
In Docker file I have this FROM ubuntu RUN apt update && apt -y upgrade RUN apt install -y sudo # Setup ops user use defaults uid 1000 gid 1000 RUN useradd -d /home/myuser -aG sudo && usermod -aG sudo…