shantanoo-desai / komponist

A Composer for your favorite IoT/ IIoT container stacks with Ansible + Jinja2 + Docker Compose v2
GNU Affero General Public License v3.0
25 stars 2 forks source link

[TUI] Add `komponist` user / group to Docker Image #80

Closed shantanoo-desai closed 1 year ago

shantanoo-desai commented 1 year ago

Description

As a best practice for docker image creation as well as avoiding any conflicts when it comes to file permissions

  1. Create a group / user komponist
  2. Assign id of 1000
  3. Create a Home Directory to /home/komponist
  4. Set the WORKDIR to the Home Directory