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
|
||||
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 \
|
||||
mariadb-dev mariadb-client-libs \
|
||||
postgresql-dev postgresql-libs \
|
||||
freetds-dev freetds \
|
||||
mariadb-dev postgresql-dev freetds-dev \
|
||||
&& pip3 install --no-cache-dir cython \
|
||||
&& 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 cchardet uvloop aiodns \
|
||||
&& pip3 install --no-cache-dir cython \
|
||||
&& apk del \
|
||||
mariadb-dev postgresql-dev freetds-dev \
|
||||
gcc g++ musl-dev python3-dev make
|
||||
&& apk del .build-dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue