35 lines
1.2 KiB
Docker
35 lines
1.2 KiB
Docker
# Copyright 2026 The TensorFlow Authors. All Rights Reserved.
|
|
#
|
|
# Licensed 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.
|
|
# ==============================================================================
|
|
|
|
# To push a new version, run:
|
|
# $ docker build -f Dockerfile.rbe.cpu \
|
|
# --tag "gcr.io/tensorflow-testing/nosla-ubuntu16.04" .
|
|
# $ docker push gcr.io/tensorflow-testing/nosla-ubuntu16.04
|
|
|
|
FROM launcher.gcr.io/google/rbe-ubuntu16-04:r327695
|
|
LABEL maintainer="Yu Yi <yiyu@google.com>"
|
|
|
|
# Copy install scripts
|
|
COPY install/*.sh /install/
|
|
|
|
# Setup envvars
|
|
ENV CC /usr/local/bin/clang
|
|
ENV CXX /usr/local/bin/clang++
|
|
ENV AR /usr/bin/ar
|
|
|
|
# Run pip install script for RBE Ubuntu 16-04 container.
|
|
RUN /install/install_pip_packages_remote.sh
|
|
RUN /install/install_pip_packages.sh
|