eclipse-kura / kura

Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
https://eclipse.dev/kura/
Eclipse Public License 2.0
506 stars 312 forks source link

fix(distrib): kurad installation on docker-alpine-x86_64-nn container #5249

Closed marcellorinaldo closed 5 months ago

marcellorinaldo commented 5 months ago

This PR fixes the installation of kurad user when using the alpine base image.

It adds the shadow package to have all the dependencies for the manage_kura_users.sh script. In this way, kurad is the owner of the installed files and the CommandService can be used in unprivileged mode as in the ubi8 container.

Related Issue: N/A.

Description of the solution adopted: N/A.

Screenshots: N/A.

Manual Tests: N/A.

Any side note on the changes made: N/A.

marcellorinaldo commented 5 months ago

At the end we decided to keep the installation for the kurad user to ensure retrocompatibility with applications using the Kura ubi8 container.

Adding package shadow solved the missing packages on Alpine linux required by the users installation script.