diff --git a/src/alpine-user/devcontainer-feature.json b/src/alpine-user/devcontainer-feature.json index d7628fb..42a9bfa 100755 --- a/src/alpine-user/devcontainer-feature.json +++ b/src/alpine-user/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "alpine-user", "id": "alpine-user", - "version": "0.0.1", + "version": "0.0.2", "description": "Create a user on alpine", "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-user", "options": { @@ -9,6 +9,11 @@ "type": "string", "default": "vscode", "description": "The name of the user to create" + }, + "uid": { + "type": "string", + "default": "1000", + "description": "The uid of the user to create" } } } \ No newline at end of file diff --git a/src/alpine-user/install.sh b/src/alpine-user/install.sh index 13e7138..303528e 100755 --- a/src/alpine-user/install.sh +++ b/src/alpine-user/install.sh @@ -4,6 +4,6 @@ set -e echo "Activating feature 'alpine-user'" -adduser -D $USER +adduser -D $USER -u $UID echo 'Done!' \ No newline at end of file