mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 10:06:34 +00:00
Update dockerfile
This commit is contained in:
parent
490ea547f9
commit
941b7aceb0
@ -2,6 +2,7 @@ FROM %%BASE_IMAGE%%
|
||||
|
||||
# Add version
|
||||
ENV VERSION %%HASS_VERSION%%
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
# install core packages
|
||||
RUN apk --no-cache add libuv git linux-headers eudev-dev libusb-dev
|
||||
@ -14,7 +15,6 @@ RUN apk --no-cache add ffmpeg nmap net-tools
|
||||
WORKDIR /usr/src/
|
||||
RUN pip3 install --no-cache-dir cython==0.25.2
|
||||
|
||||
WORKDIR /usr/src/python-openzwave/
|
||||
RUN git clone https://github.com/OpenZWave/python-openzwave \
|
||||
&& cd python-openzwave \
|
||||
&& git checkout v0.3.2 \
|
||||
|
@ -2,6 +2,7 @@ FROM %%BASE_IMAGE%%
|
||||
|
||||
# Add version
|
||||
ENV VERSION %%SUPERVISOR_TAG%%
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
# remove several traces of python
|
||||
RUN apk del --no-cache python*
|
||||
@ -19,4 +20,8 @@ RUN pip3 install pip --no-cache-dir --upgrade \
|
||||
&& pip3 install --no-cache-dir docker \
|
||||
&& pip3 install --no-cache-dir colorlog
|
||||
|
||||
CMD [ "bash" ]
|
||||
# install HassIO
|
||||
COPY hassio_api /usr/src/hassio_api
|
||||
RUN pip3 install --no-cache-dir /usr/src/hassio_api
|
||||
|
||||
CMD [ "hassio" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user