Skip to content

Commit

Permalink
chore: Update Alpine-user devcontainer feature version to 0.0.2 and a…
Browse files Browse the repository at this point in the history
…dd uid option
  • Loading branch information
cirolosapio committed Jul 13, 2024
1 parent 167e51e commit 9b49dd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/alpine-user/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
{
"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": {
"user": {
"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"
}
}
}
2 changes: 1 addition & 1 deletion src/alpine-user/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e

echo "Activating feature 'alpine-user'"

adduser -D $USER
adduser -D $USER -u $UID

echo 'Done!'

0 comments on commit 9b49dd2

Please sign in to comment.