You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Docker image builds with the user "developer" and a UID and GID that matches the person building it. This causes at least two problems:
It breaks the automatic build process, since there is no user in the autobuild environment that it can match the UID to.
It causes undesirable behavior in cases where the person running the image has a different UID from the person who built it. (See discussion here and here
This problem is widely acknowledged and a fix has been requested but not yet implemented. In the meantime, many workarounds have been proposed. One of the most thorough of these is fixuid, which solves the problem by checking for UID and GID mismatches in a script set to the container entrypoint, then adjusting the internet user's UID and GID to match if necessary, and also scanning the file system to make the necessary file ownership changes.
Although not ideal, this is seems like the best available solution until there is official support for something better.
The text was updated successfully, but these errors were encountered:
Original report (archived issue) by Michael McCarrin (Bitbucket: m1chaelm).
Currently the Docker image builds with the user "developer" and a UID and GID that matches the person building it. This causes at least two problems:
This problem is widely acknowledged and a fix has been requested but not yet implemented. In the meantime, many workarounds have been proposed. One of the most thorough of these is fixuid, which solves the problem by checking for UID and GID mismatches in a script set to the container entrypoint, then adjusting the internet user's UID and GID to match if necessary, and also scanning the file system to make the necessary file ownership changes.
Although not ideal, this is seems like the best available solution until there is official support for something better.
The text was updated successfully, but these errors were encountered: