| # Copyright 2020 The IREE Authors | |
| # | |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. | |
| # See https://llvm.org/LICENSE.txt for license information. | |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| # An image for building IREE and its Python bindings using CMake. | |
| FROM gcr.io/iree-oss/cmake@sha256:9d9953acf5ca0cf1ff3e8de32f10f24dfab1c4e8ec5d1fc047f556024ee4bed6 AS final | |
| # Dependencies for the python bindings tests. | |
| RUN apt-get update \ | |
| && apt-get install -y \ | |
| python3 \ | |
| python3-pip \ | |
| python3-setuptools \ | |
| && python3 -m pip install --upgrade pip \ | |
| && python3 -m pip install \ | |
| numpy==1.19.4 absl-py==0.12.0 requests PyYAML==5.4.1 wheel==0.36.2 \ | |
| pybind11==2.6.1 | |
| ENV PYTHON_BIN /usr/bin/python3 |