mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-21 16:37:41 +01:00
Add esphome user to container (#831)
This commit is contained in:
parent
0680442b7f
commit
5337aa84ad
@ -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