Make python3.6 the default python version for custom op Dockerfile.
We no longer publish 2.7 pip packages. PiperOrigin-RevId: 300432764 Change-Id: I389e7a9eedc7656dbed63c21b6119b53e2a916e3
This commit is contained in:
parent
8f7ce3589e
commit
690fa965f9
@ -69,6 +69,9 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && python3.5 get-pip.py && rm get-
|
||||
RUN /install/install_pip_packages.sh
|
||||
RUN /install/install_auditwheel.sh
|
||||
|
||||
# Make python3.6 the default python version
|
||||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 0
|
||||
|
||||
# Install given tensorflow or tf-nightly version, if not specified, install the # latest official release
|
||||
ARG TF_PACKAGE=tensorflow
|
||||
ARG TF_PACKAGE_VERSION=
|
||||
|
@ -69,6 +69,9 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && python3.5 get-pip.py && rm get-
|
||||
RUN /install/install_pip_packages.sh
|
||||
RUN /install/install_auditwheel.sh
|
||||
|
||||
# Make python3.6 the default python version
|
||||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 0
|
||||
|
||||
# Install given tensorflow or tf-nightly version, if not specified, install the # latest official release
|
||||
ARG TF_PACKAGE=tensorflow
|
||||
ARG TF_PACKAGE_VERSION=
|
||||
|
@ -71,6 +71,9 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && python3.5 get-pip.py && rm get-
|
||||
RUN /install/install_pip_packages.sh
|
||||
RUN /install/install_auditwheel.sh
|
||||
|
||||
# Make python3.6 the default python version
|
||||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 0
|
||||
|
||||
# Install given tensorflow or tf-nightly version, if not specified, install the # latest official release
|
||||
ARG TF_PACKAGE=tensorflow
|
||||
ARG TF_PACKAGE_VERSION=
|
||||
|
Loading…
x
Reference in New Issue
Block a user