File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
tensorflow_serving/tools/docker Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
47
47
apt-get clean && \
48
48
rm -rf /var/lib/apt/lists/*
49
49
50
- RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
51
- python3 get-pip.py && \
52
- rm get-pip.py
53
-
54
50
# Install python 3.7.
55
51
RUN add-apt-repository ppa:deadsnakes/ppa && \
56
52
apt-get update && apt-get install -y \
@@ -62,6 +58,10 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
62
58
# Make python3.7 the default python version
63
59
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.7 0
64
60
61
+ RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
62
+ python3 get-pip.py && \
63
+ rm get-pip.py
64
+
65
65
RUN pip3 --no-cache-dir install \
66
66
future>=0.17.1 \
67
67
grpcio \
Original file line number Diff line number Diff line change @@ -47,10 +47,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
47
47
apt-get clean && \
48
48
rm -rf /var/lib/apt/lists/*
49
49
50
- RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
51
- python3 get-pip.py && \
52
- rm get-pip.py
53
-
54
50
# Install python 3.7.
55
51
RUN add-apt-repository ppa:deadsnakes/ppa && \
56
52
apt-get update && apt-get install -y \
@@ -62,6 +58,10 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
62
58
# Make python3.7 the default python version
63
59
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.7 0
64
60
61
+ RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
62
+ python3 get-pip.py && \
63
+ rm get-pip.py
64
+
65
65
RUN pip3 --no-cache-dir install \
66
66
future>=0.17.1 \
67
67
grpcio \
You can’t perform that action at this time.
0 commit comments