Cleanup code

This commit is contained in:
Pascal Vizeli 2017-10-21 12:15:11 +02:00 committed by GitHub
parent 0373a95bc9
commit 3c449d04ae

View file

@ -103,14 +103,12 @@ RUN apk add --no-cache \
#### ####
## Install pip module for component/homeassistant ## Install pip module for component/homeassistant
RUN apk add --no-cache \ RUN apk add --no-cache \
mariadb-client-libs postgresql-libs freetds \
&& apk add --no-cache --virtual .build-dependencies \
gcc g++ musl-dev python3-dev make \ gcc g++ musl-dev python3-dev make \
mariadb-dev mariadb-client-libs \ mariadb-dev postgresql-dev freetds-dev \
postgresql-dev postgresql-libs \ && pip3 install --no-cache-dir cython \
freetds-dev freetds \
&& pip3 install --no-cache-dir mysqlclient psycopg2 \ && pip3 install --no-cache-dir mysqlclient psycopg2 \
&& pip3 install --no-cache-dir https://github.com/wayfair/pymssql/archive/v2.1.3.0.0.1.zip \ && pip3 install --no-cache-dir https://github.com/wayfair/pymssql/archive/v2.1.3.0.0.1.zip \
&& pip3 install --no-cache-dir cchardet uvloop aiodns \ && pip3 install --no-cache-dir cchardet uvloop aiodns \
&& pip3 install --no-cache-dir cython \ && apk del .build-dependencies
&& apk del \
mariadb-dev postgresql-dev freetds-dev \
gcc g++ musl-dev python3-dev make