This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-liminal.git

commit 324f717eca40e5a8bace61de392ecf1be1d619c4
Author: roei <[email protected]>
AuthorDate: Mon Jun 22 15:09:20 2020 +0300

    perform pip upgrade when building python images
---
 rainbow/build/image/python/Dockerfile          | 1 +
 rainbow/build/service/python_server/Dockerfile | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/rainbow/build/image/python/Dockerfile 
b/rainbow/build/image/python/Dockerfile
index 8e4de05..4a91690 100644
--- a/rainbow/build/image/python/Dockerfile
+++ b/rainbow/build/image/python/Dockerfile
@@ -32,6 +32,7 @@ WORKDIR /app
 COPY ./requirements.txt /app/
 
 # mount the secret in the correct location, then run pip install
+RUN pip install --upgrade pip
 RUN {{mount}} pip install -r requirements.txt
 
 # Copy the current directory contents into the container at /app
diff --git a/rainbow/build/service/python_server/Dockerfile 
b/rainbow/build/service/python_server/Dockerfile
index 4d4254f..e329738 100644
--- a/rainbow/build/service/python_server/Dockerfile
+++ b/rainbow/build/service/python_server/Dockerfile
@@ -29,6 +29,8 @@ WORKDIR /app
 # Be careful when changing this code.                                          
                  !
 
 # Install any needed packages specified in python_server_requirements.txt and 
requirements.txt
+RUN pip install --upgrade pip
+
 COPY ./python_server_requirements.txt /app/
 RUN pip install -r python_server_requirements.txt
 

Reply via email to