Hello! Just to quickly mention that this does not work anymore. The base image already creates a user called “ubuntu” with UID and GID set to 1000; so when the Dockerfile tries to create one, it fails the build. I have spent a painful afternoon figuring this out, but the lines

RUN groupadd --gid $USER_GID $USERNAME \
    && useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \

will cause the build to fail. I don’t know how publishing a dev container works, maybe @Kenji_Brameld could update it?