Add comments explaining what entrypoint is supposed to do by stuartpb · Pull Request #7792 · coder/code-server
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will now run when DOCKER_USER is blank where before it would not, should probably be something like
if [ "${DOCKER_USER-}" ] && [ "$DOCKER_USER" != coder ]; then
Although, since we check if the user already exists below, it is probably not necessary to add this guard, but I suppose no harm in it either.