Updates to dockerfile for rootless container#248
Conversation
Updated dockerfile to run as user "repeater". Also does the `pip install` as the lower privilege user, not root.
|
tested fully with radio on RasberryPi OS Lite 64bit, builds on amd64 as well (but not tested with a radio) |
|
sorry @bplein I just merged @yellowcooln PR and it broke yours mind fixing? |
|
I rebased this locally against current There are two changes that still need to be carried over:
I put a working version of the fix on my fork here: Branchhttps://github.com/yellowcooln/pyMC_Repeater/blob/pr-248-on-upstream-dev/dockerfile Commits
Required Dockerfile AdjustmentENV PATH=/home/${USER}/.local/bin:${PATH}Without this, console scripts installed during the rootless pip install may not be available on the container PATH. Docker Imageworking image can be found here |
Branched from
dev.Updated dockerfile to run as user "repeater". Also does the
pip installas the lower privilege user, not root.