Skip to content

Container from Ubuntu 18.04 and cmake fix #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions tensorflow/tools/ci_build/Dockerfile.cpu-py38
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
FROM ubuntu:16.04
FROM ubuntu:18.04

LABEL maintainer="Gauri Deshpande <gauri1.deshpande@intel.com>"
LABEL maintainer="Ravi Gupta <ravi1.gupta@intel.com>"

# Copy and run the install scripts.
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install cmake -y

COPY install/*.sh /install/
RUN /install/install_bootstrap_deb_packages.sh
RUN add-apt-repository -y ppa:openjdk-r/ppa && \
add-apt-repository -y ppa:george-edison55/cmake-3.x
RUN /install/install_deb_packages.sh
RUN bash -x /install/install_bootstrap_deb_packages.sh
RUN add-apt-repository -y ppa:openjdk-r/ppa
RUN bash -x /install/install_deb_packages.sh

# Install gcc 7
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
Expand All @@ -27,10 +30,10 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 0
RUN python3 -V
RUN /install/install_pip_packages_by_version.sh pip3

RUN /install/install_bazel.sh
RUN /install/install_proto3.sh
RUN /install/install_buildifier.sh
RUN /install/install_auditwheel.sh
RUN /install/install_golang.sh
RUN bash -x /install/install_bazel.sh
RUN bash -x /install/install_proto3.sh
RUN bash -x /install/install_buildifier.sh
RUN bash -x /install/install_auditwheel.sh
RUN bash -x /install/install_golang.sh
# Set up the master bazelrc configuration file.
COPY install/.bazelrc /etc/bazel.bazelrc
1 change: 0 additions & 1 deletion tensorflow/tools/ci_build/install/install_deb_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ if [[ "$1" != "" ]] && [[ "$1" != "--without_cmake" ]]; then
fi

# Install dependencies from ubuntu deb repository.
apt-key adv --keyserver keyserver.ubuntu.com --recv 084ECFC5828AB726
apt-get update

if [[ "$ubuntu_version" == "14" ]]; then
Expand Down