File tree Expand file tree Collapse file tree 8 files changed +11
-3
lines changed Expand file tree Collapse file tree 8 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ RUN apt-get update -qq && apt-get install -y -q \
99 && apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
1010 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1111 python3.6 get-pip.py && \
12+ pip install --upgrade pip && \
1213 rm -rf /root/.cache/pip*
1314
1415COPY pkg/workloads/cortex/lib/requirements.txt /src/cortex/lib/requirements.txt
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ WORKDIR /root
44
55ENV PATH /root/.local/bin:$PATH
66
7- RUN pip install awscli --upgrade --user && \
7+ RUN pip install --upgrade pip && \
8+ pip install awscli --upgrade --user && \
89 rm -rf /root/.cache/pip*
910
1011RUN apk add --no-cache bash curl gettext jq openssl
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update -qq && apt-get install -y -q \
1919 && apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
2020 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
2121 python3.6 get-pip.py && \
22+ pip install --upgrade pip && \
2223 rm -rf /root/.cache/pip*
2324
2425ENV PYTHONPATH "${PYTHONPATH}:/src:/mnt/project"
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update -qq && apt-get install -y -q \
1919 && apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
2020 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
2121 python3.6 get-pip.py && \
22+ pip install --upgrade pip && \
2223 rm -rf /root/.cache/pip*
2324
2425ENV PYTHONPATH "${PYTHONPATH}:/src:/mnt/project"
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ RUN apt-get update -qq && apt-get install -y -q \
1717 && apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
1818 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1919 python3.6 get-pip.py && \
20+ pip install --upgrade pip && \
2021 rm -rf /root/.cache/pip*
2122
2223ENV PYTHONPATH "${PYTHONPATH}:/src:/mnt/project"
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ RUN apt-get update -qq && apt-get install -y -q \
1717 && apt-get clean -qq && rm -rf /var/lib/apt/lists/* && \
1818 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1919 python3.6 get-pip.py && \
20+ pip install --upgrade pip && \
2021 rm -rf /root/.cache/pip*
2122
2223ENV PYTHONPATH "${PYTHONPATH}:/src:/mnt/project"
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ FROM python:3.6
33ENV PYTHONPATH="/src:${PYTHONPATH}"
44
55COPY pkg/workloads/cortex/lib/requirements.txt /src/cortex/lib/requirements.txt
6- RUN pip install -r /src/cortex/lib/requirements.txt && \
6+ RUN pip install --upgrade pip && \
7+ pip install -r /src/cortex/lib/requirements.txt && \
78 pip install pytest mock && \
89 rm -rf /root/.cache/pip*
910
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ RUN apt-get update -qq && apt-get install -y -q \
1818
1919COPY pkg/workloads/cortex/lib/requirements.txt /src/cortex/lib/requirements.txt
2020COPY pkg/workloads/cortex/tf_api/requirements.txt /src/cortex/tf_api/requirements.txt
21- RUN pip install -r /src/cortex/lib/requirements.txt && \
21+ RUN pip install --upgrade pip && \
22+ pip install -r /src/cortex/lib/requirements.txt && \
2223 pip install -r /src/cortex/tf_api/requirements.txt && \
2324 rm -rf /root/.cache/pip*
2425
You can’t perform that action at this time.
0 commit comments