mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-06-26 10:35:00 +02:00
Add esphome user to container
This commit is contained in:
parent
74e72cc6ea
commit
13ccfc9898
|
@ -16,6 +16,10 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
|||
&& unzip /tmp/protoc.zip -d /usr -x readme.txt \
|
||||
&& rm /tmp/protoc.zip
|
||||
|
||||
RUN useradd -ms /bin/bash esphome
|
||||
|
||||
USER esphome
|
||||
|
||||
WORKDIR /aioesphomeapi
|
||||
|
||||
COPY requirements_test.txt ./
|
||||
|
|
Loading…
Reference in New Issue
Block a user