From e9376477d2b51443e74a489f24c0171e43cc0139 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Sat, 16 Nov 2024 09:44:32 -0800 Subject: [PATCH] docs: fix workflow useradd case --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 784034d..87578c4 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,15 @@ jobs: packages: write ``` +The default behavior of the workflow provides arguments for use with the [useradd Dockerfile partial](https://github.com/rcwbr/dockerfile-partials/tree/main/useradd) for Codespaces user provisioning. These arguments must be forwarded to the `devcontainer-cache-build-initialize` script, e.g. via the `DEVCONTAINER_BUILD_ADDITIONAL_ARGS` variable: + +```bash +# .devcontainer/initialize + +export DEVCONTAINER_BUILD_ADDITIONAL_ARGS="$@" +curl https://raw.githubusercontent.com/rcwbr/devcontainer-cache-build/0.1.0/devcontainer-cache-build-initialize | bash +``` + ## Contributing ### CI/CD