Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
fix group
Browse files Browse the repository at this point in the history
  • Loading branch information
paigeadelethompson committed Nov 8, 2023
1 parent 1d0291c commit 0b71140
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Create docker image instance
run: docker create --name rpi-image surv:latest
- name: Docker export
run: cd /mnt ; sudo docker export rpi-image | sudo tar --exclude=etc/machine-id -xf -
run: cd /mnt ; sudo docker export rpi-image | sudo tar --exclude=etc/machine-id --exclude=etc/*_key* -xf -
- name: Home directories
run: sudo mkdir /mnt/home/pi/ssh /mnt/home/pi/motion_cam /mnt/home/pi/motion_logs /mnt/home/pi/motion_video /mnt/home/pi/motion_cameras
- name: authorized_keys empty file
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ RUN groupadd i2c

RUN groupadd gpio

RUN groupadd input

RUN groupadd -g 5000 pi

RUN useradd -u 4000 -g pi -s /bin/bash -d /home/pi -G sudo,video,adm,dialout,cdrom,audio,plugdev,games,users,input,netdev,spi,i2c,gpio pi
Expand Down

0 comments on commit 0b71140

Please sign in to comment.