From 2abfb505b5048835ec3a601f9fe46c519d276a86 Mon Sep 17 00:00:00 2001 From: Akshat Soni Date: Tue, 2 Feb 2021 15:40:22 +0530 Subject: [PATCH 1/3] Update Dockerfile.dev The old version of pip install caused some issues during installation in docker so adding the command to upgrade pip --- Dockerfile.dev | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.dev b/Dockerfile.dev index 52eca494f..d54fab93b 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -13,6 +13,7 @@ RUN python3 -m venv $VIRTUAL_ENV WORKDIR /tmp COPY requirements.txt /tmp COPY test-requirements.txt /tmp +RUN python -m pip install -U pip RUN pip install -r requirements.txt -r test-requirements.txt FROM base as run From 6e9d631204d8be5ff3868cda301f7406c530b5f6 Mon Sep 17 00:00:00 2001 From: Akshat Soni Date: Wed, 10 Feb 2021 09:11:03 +0530 Subject: [PATCH 2/3] Update Dockerfile.dev --- Dockerfile.dev | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index d54fab93b..3936a0a5f 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -13,8 +13,7 @@ RUN python3 -m venv $VIRTUAL_ENV WORKDIR /tmp COPY requirements.txt /tmp COPY test-requirements.txt /tmp -RUN python -m pip install -U pip -RUN pip install -r requirements.txt -r test-requirements.txt +RUN python -m pip install -U pip && pip install -r requirements.txt -r test-requirements.txt FROM base as run COPY --from=build $VIRTUAL_ENV $VIRTUAL_ENV From e6f4987512c0c271e65e3a47ecdb14bf248bee21 Mon Sep 17 00:00:00 2001 From: Akshat Soni Date: Wed, 10 Feb 2021 09:59:56 +0530 Subject: [PATCH 3/3] Update Dockerfile.dev --- Dockerfile.dev | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index 3936a0a5f..6fc20ecaa 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -13,7 +13,8 @@ RUN python3 -m venv $VIRTUAL_ENV WORKDIR /tmp COPY requirements.txt /tmp COPY test-requirements.txt /tmp -RUN python -m pip install -U pip && pip install -r requirements.txt -r test-requirements.txt +RUN python -m pip install -U pip +RUN pip install -r requirements.txt -r test-requirements.txt FROM base as run COPY --from=build $VIRTUAL_ENV $VIRTUAL_ENV