Skip to content

Commit cf62145

Browse files
authored
Remove existing pip
1 parent e5de214 commit cf62145

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.arm32v7

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ RUN wget -nv --show-progress --progress=bar:force:noscroll ${model_bucket}/${mod
2727
tar -x -C assets/ -f assets/${model_file} -v && rm assets/${model_file}
2828

2929
# We use our own branch of pip and install TensorFlow directly from the URL here because of a bug in pip: https://github.com/pypa/packaging/pull/234
30+
RUN rm -rf /usr/local/lib/python3.7/site-packages/pip
3031
RUN git clone --branch arm64 https://github.com/xuhdev/pip.git && cd pip && python setup.py install
31-
RUN python -m pip install https://www.piwheels.org/simple/tensorflow/tensorflow-1.13.1-cp37-none-linux_armv7l.whl
32+
RUN python -m pip install https://www.piwheels.org/simple/tensorflow/tensorflow-1.14.0-cp37-none-linux_armv7l.whl
33+
3234
COPY requirements.txt /workspace
3335
RUN pip install -r requirements.txt
3436

0 commit comments

Comments
 (0)