Fix custom op docker containers.
PiperOrigin-RevId: 327462578 Change-Id: I40b493972dade171145dd2b245a270bf1ecbfdfe
This commit is contained in:
parent
ee21f062f6
commit
3e211c70b8
@ -77,10 +77,3 @@ ARG TF_PACKAGE=tensorflow
|
||||
ARG TF_PACKAGE_VERSION=
|
||||
RUN pip3 install ${TF_PACKAGE}-cpu${TF_PACKAGE_VERSION:+==${TF_PACKAGE_VERSION}}
|
||||
|
||||
# TODO(klimek): Figure out a better way to get the right include paths
|
||||
# forwarded when we install new packages.
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python2.7" "/dt7/usr/include/x86_64-linux-gnu/python2.7"
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python2.7" "/dt8/usr/include/x86_64-linux-gnu/python2.7"
|
||||
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python3.6m" "/dt7/usr/include/x86_64-linux-gnu/python3.6m"
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python3.6m" "/dt8/usr/include/x86_64-linux-gnu/python3.6m"
|
||||
|
@ -76,8 +76,3 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 0
|
||||
ARG TF_PACKAGE=tensorflow
|
||||
ARG TF_PACKAGE_VERSION=
|
||||
RUN pip3 install ${TF_PACKAGE}${TF_PACKAGE_VERSION:+==${TF_PACKAGE_VERSION}}
|
||||
|
||||
# TODO(klimek): Figure out a better way to get the right include paths
|
||||
# forwarded when we install new packages.
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python3.6m" "/dt7/usr/include/x86_64-linux-gnu/python3.6m"
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python3.6m" "/dt8/usr/include/x86_64-linux-gnu/python3.6m"
|
||||
|
@ -78,8 +78,3 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 0
|
||||
ARG TF_PACKAGE=tensorflow
|
||||
ARG TF_PACKAGE_VERSION=
|
||||
RUN pip3 install ${TF_PACKAGE}${TF_PACKAGE_VERSION:+==${TF_PACKAGE_VERSION}}
|
||||
|
||||
# TODO(klimek): Figure out a better way to get the right include paths
|
||||
# forwarded when we install new packages.
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python3.6m" "/dt7/usr/include/x86_64-linux-gnu/python3.6m"
|
||||
RUN ln -s "/usr/include/x86_64-linux-gnu/python3.6m" "/dt8/usr/include/x86_64-linux-gnu/python3.6m"
|
||||
|
Loading…
Reference in New Issue
Block a user