mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-09-27 04:22:46 +02: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 \
|
&& unzip /tmp/protoc.zip -d /usr -x readme.txt \
|
||||||
&& rm /tmp/protoc.zip
|
&& rm /tmp/protoc.zip
|
||||||
|
|
||||||
|
RUN useradd -ms /bin/bash esphome
|
||||||
|
|
||||||
|
USER esphome
|
||||||
|
|
||||||
WORKDIR /aioesphomeapi
|
WORKDIR /aioesphomeapi
|
||||||
|
|
||||||
COPY requirements_test.txt ./
|
COPY requirements_test.txt ./
|
||||||
|
Loading…
Reference in New Issue
Block a user