Docker: fix test for pm3 when building images
This commit is contained in:
1 parent
f09705868a
commit
a1a9b50d24
28 files changed
+182
-70
No files matched your search
@@ -4,8 +4,10 @@ ENV LANG=C
|
||||
|
||||
ARG UART_GID
|
||||
# dialout group may already exist on another numeric ID than on host
|
||||
RUN sudo groupadd -g ${UART_GID} mydialout || true
|
||||
RUN sudo usermod -aG ${UART_GID} linuxbrew
|
||||
RUN if [ -n "${UART_GID}" ]; then \
|
||||
sudo groupadd -g ${UART_GID} mydialout || true; \
|
||||
sudo usermod -aG ${UART_GID} linuxbrew; \
|
||||
fi
|
||||
|
||||
USER linuxbrew
|
||||
WORKDIR "/home/linuxbrew"
|
||||
|
||||
Reference in new issue
Block a user