Support new base images (#571)

* Support new base images

* Update Dockerfile

* Update setup.py
This commit is contained in:
Pascal Vizeli 2018-07-17 23:32:50 +02:00 committed by GitHub
parent 58299a0389
commit 5fbff75da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -6,7 +6,6 @@ ENV LANG C.UTF-8
# Setup base # Setup base
RUN apk add --no-cache \ RUN apk add --no-cache \
python3 \
git \ git \
socat \ socat \
glib \ glib \
@ -14,12 +13,11 @@ RUN apk add --no-cache \
eudev-libs \ eudev-libs \
&& apk add --no-cache --virtual .build-dependencies \ && apk add --no-cache --virtual .build-dependencies \
make \ make \
python3-dev \
g++ \ g++ \
&& pip3 install --no-cache-dir \ && pip3 install --no-cache-dir \
uvloop==0.10.2 \ uvloop==0.10.2 \
cchardet==2.1.1 \ cchardet==2.1.1 \
pycryptodome==3.4.11 \ pycryptodome==3.6.4 \
&& apk del .build-dependencies && apk del .build-dependencies
# Install HassIO # Install HassIO

View File

@ -49,7 +49,7 @@ setup(
'gitpython==2.1.10', 'gitpython==2.1.10',
'pytz==2018.4', 'pytz==2018.4',
'pyudev==0.21.0', 'pyudev==0.21.0',
'pycryptodome==3.4.11', 'pycryptodome==3.6.4',
"cpe==1.2.1" "cpe==1.2.1"
] ]
) )