Skip to content

Commit

Permalink
adjust user creation
Browse files Browse the repository at this point in the history
  • Loading branch information
reneradoi committed Jun 10, 2024
1 parent 2edf0dd commit a042dd7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ parts:
- go/1.21/stable
non-root-user:
plugin: nil
after: [redis]
overlay-script: |
# Create a user in the $CRAFT_OVERLAY chroot
groupadd -R $CRAFT_OVERLAY -g 1000 redis
useradd -R $CRAFT_OVERLAY -M -r -g redis -u 1000 redis
override-prime: |
craftctl default

0 comments on commit a042dd7

Please sign in to comment.