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:
Nolan Gilley authored and Paulus Schoutsen committed 2016-07-30 10:30:14 -07:00
1 parent 822a263622
commit a94e8f48e0
1 file changed
+2 -1
+2 -1
View File
@@ -20,7 +20,8 @@ RUN script/build_python_openzwave && \
COPY requirements_all.txt requirements_all.txt
# 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 . .