Install mysqlclient and psycopg2 (#2662)
I don't know if this is the right place for this, but I'm tired of having to install mysqlclient or psycopg2 after every docker update if I want to use mysql of postgres.
This commit is contained in:
parent
822a263622
commit
a94e8f48e0
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ RUN script/build_python_openzwave && \
|
||||||
|
|
||||||
COPY requirements_all.txt requirements_all.txt
|
COPY requirements_all.txt requirements_all.txt
|
||||||
# certifi breaks Debian based installs
|
# certifi breaks Debian based installs
|
||||||
RUN pip3 install --no-cache-dir -r requirements_all.txt && pip3 uninstall -y certifi
|
RUN pip3 install --no-cache-dir -r requirements_all.txt && pip3 uninstall -y certifi && \
|
||||||
|
pip3 install mysqlclient psycopg2
|
||||||
|
|
||||||
# Copy source
|
# Copy source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue