diff options
Diffstat (limited to 'ldcg-python-openxla/Dockerfile')
-rw-r--r-- | ldcg-python-openxla/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ldcg-python-openxla/Dockerfile b/ldcg-python-openxla/Dockerfile new file mode 100644 index 0000000000..f821258e09 --- /dev/null +++ b/ldcg-python-openxla/Dockerfile @@ -0,0 +1,15 @@ +ARG tag_prefix=latest +FROM linaro/tensorflow-arm64-build:${tag_prefix}-multipython + +ARG py_major_minor_version='3.10' + +ENV PYTHON_BIN_PATH=/usr/bin/python${py_major_minor_version} + +RUN ln -s ${PYTHON_BIN_PATH} /usr/local/bin/python && \ + ln -s ${PYTHON_BIN_PATH} /usr/local/bin/python3 + +COPY upper-constraints.txt / +RUN ${PYTHON_BIN_PATH} -m pip install -c /upper-constraints.txt -r /upper-constraints.txt + +RUN mkdir -p /tf/xla +RUN chown buildslave:buildslave /tf/xla |