| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| # CI docker GPU env |
| FROM tlcpack/ci-gpu |
| |
| COPY utils/apt-install-and-clear.sh /usr/local/bin/apt-install-and-clear |
| |
| # Android SDK |
| COPY install/ubuntu_install_androidsdk.sh /install/ubuntu_install_androidsdk.sh |
| RUN bash /install/ubuntu_install_androidsdk.sh 25.2.9519653 3.22.1 33.0.2 33 |
| ENV PATH /opt/android-sdk-linux/platform-tools:$PATH |
| |
| # Clang tool for CLML source codegen |
| RUN apt-get update && apt-install-and-clear -y clang-format-15 |
| |
| #Google Test |
| COPY install/ubuntu_install_googletest.sh /install/ubuntu_install_googletest.sh |
| RUN bash install/ubuntu_install_googletest.sh |