all Docker envs: add support for connection to host device
This commit is contained in:
1 parent
9c4e821f94
commit
f09705868a
73 files changed
+307
-63
No files matched your search
@@ -15,6 +15,10 @@ RUN pacman -S --noconfirm ocl-icd
|
||||
# Create rrg user
|
||||
RUN useradd -ms /bin/bash rrg
|
||||
RUN passwd -d rrg
|
||||
ARG UART_GID
|
||||
# dialout group may already exist on another numeric ID than on host
|
||||
RUN groupadd -g ${UART_GID} mydialout || true
|
||||
RUN usermod -aG ${UART_GID} rrg
|
||||
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
||||
|
||||
USER rrg
|
||||
|
||||
Reference in new issue
Block a user