File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ RUN pip --no-cache-dir install \
47
47
http://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.0.0-cp27-none-linux_x86_64.whl
48
48
# --- ~ DO NOT EDIT OR DELETE BETWEEN THE LINES --- #
49
49
50
- # RUN ln -s /usr/bin/python3 /usr/bin/python#
50
+ # RUN ln -s -f /usr/bin/python3 /usr/bin/python#
51
51
52
52
# Set up our notebook config.
53
53
COPY jupyter_notebook_config.py /root/.jupyter/
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ RUN pip --no-cache-dir install \
38
38
&& \
39
39
python -m ipykernel.kernelspec
40
40
41
+ # RUN ln -s -f /usr/bin/python3 /usr/bin/python#
42
+
41
43
# Set up our notebook config.
42
44
COPY jupyter_notebook_config.py /root/.jupyter/
43
45
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ RUN pip --no-cache-dir install \
47
47
&& \
48
48
python -m ipykernel.kernelspec
49
49
50
+ # RUN ln -s -f /usr/bin/python3 /usr/bin/python#
51
+
50
52
# Set up our notebook config.
51
53
COPY jupyter_notebook_config.py /root/.jupyter/
52
54
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ RUN pip --no-cache-dir install \
47
47
http://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.0.0-cp27-none-linux_x86_64.whl
48
48
# --- ~ DO NOT EDIT OR DELETE BETWEEN THE LINES --- #
49
49
50
- # RUN ln -s /usr/bin/python3 /usr/bin/python#
50
+ # RUN ln -s -f /usr/bin/python3 /usr/bin/python#
51
51
52
52
# Set up our notebook config.
53
53
COPY jupyter_notebook_config.py /root/.jupyter/
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ if [[ "${TF_DOCKER_BUILD_IS_DEVEL}" == "no" ]]; then
284
284
if sed -i -e ' s/python /python3 /g' " ${DOCKERFILE} " && \
285
285
sed -i -e ' s/python-dev/python3-dev/g' " ${DOCKERFILE} " && \
286
286
sed -i -e ' s/pip /pip3 /g' " ${DOCKERFILE} " && \
287
- sed -i -e ' s^# RUN ln -s /usr/bin/python3 /usr/bin/python#^RUN ln -s /usr/bin/python3 /usr/bin/python^' " ${DOCKERFILE} "
287
+ sed -i -e ' s^# RUN ln -s -f /usr/bin/python3 /usr/bin/python#^RUN ln -s -f /usr/bin/python3 /usr/bin/python^' " ${DOCKERFILE} "
288
288
then
289
289
echo " Modified Dockerfile for python version " \
290
290
" ${TF_DOCKER_BUILD_PYTHON_VERSION} at: ${DOCKERFILE} "
306
306
sed -i -e ' s^/tmp/pip^/tmp/pip3^g' " ${DOCKERFILE} " && \
307
307
sed -i -e ' s/pip /pip3 /g' " ${DOCKERFILE} " && \
308
308
sed -i -e ' s/ENV CI_BUILD_PYTHON python/ENV CI_BUILD_PYTHON python3/g' " ${DOCKERFILE} " && \
309
- sed -i -e ' s^# RUN ln -s /usr/bin/python3 /usr/bin/python#^RUN ln -s /usr/bin/python3 /usr/bin/python^' " ${DOCKERFILE} "
309
+ sed -i -e ' s^# RUN ln -s -f /usr/bin/python3 /usr/bin/python#^RUN ln -s -f /usr/bin/python3 /usr/bin/python^' " ${DOCKERFILE} "
310
310
then
311
311
echo " Modified Dockerfile further for python version ${TF_DOCKER_BUILD_PYTHON_VERSION} at: ${DOCKERFILE} "
312
312
else
You can’t perform that action at this time.
0 commit comments