From a94e8f48e03d57fbabd62ae095175babb34674b8 Mon Sep 17 00:00:00 2001 From: Nolan Gilley Date: Sat, 30 Jul 2016 13:30:14 -0400 Subject: [PATCH] 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. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d69b44cb9ff6..22c0c13ddf61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .