Cleanup code
This commit is contained in:
parent
0373a95bc9
commit
3c449d04ae
1 changed files with 5 additions and 7 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue