Skip to content

Commit

Permalink
docs: fix useradd UID codespaces usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rcwbr committed Sep 22, 2024
1 parent d43b76d commit a0c9eee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,15 @@ The useradd partial contains a devcontainer bake config file. See [Devcontainer
| --- | --- | --- | --- |
| `USER` | ✗ | `"root"` | See [useradd Dockerfile](#useradd-dockerfile-usage) |
| `EXTRA_GID_ARGS` | ✗ | `""` | See [useradd Dockerfile](#useradd-dockerfile-usage) |
| `UID` | ✗ | `0` | See [useradd Dockerfile](#useradd-dockerfile-usage) |
| `GID` | ✗ | `${UID}` | See [useradd Dockerfile](#useradd-dockerfile-usage) |
| `UID` | ✗ | `0` | Maps to `USER_UID`. See [useradd Dockerfile](#useradd-dockerfile-usage) |
| `GID` | ✗ | `${UID}` | Maps to `USER_GID`.See [useradd Dockerfile](#useradd-dockerfile-usage) |
#### useradd Codespaces usage
For use in [Codespaces](https://github.com/features/codespaces) devcontainers, the build args must be set to the following values:
- `USER`: `codespace`
- `USER_UID`: `1000`
- `USER_GID`: `1000`
- `UID`: `1000`
These values may be hard-coded in the Bake config file, or may be exposed as variables for compatibility with local environments.
Expand Down

0 comments on commit a0c9eee

Please sign in to comment.