File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM gcr.io/gcp-runtimes/ubuntu_16_0_4:latest
22
33# Install Bazel (https://docs.bazel.build/versions/master/install-ubuntu.html)
4- RUN apt-get update -y && apt-get install openjdk-8-jdk -y
5- RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
6- RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
7- RUN apt-get update -y && apt-get install bazel -y
4+ RUN apt-get update -y && apt-get install openjdk-8-jdk wget git unzip build-essential -y
5+ RUN wget https://github.com/bazelbuild/bazel/releases/download/0.24.0/bazel-0.24.0-installer-linux-x86_64.sh -O /tmp/bazel-installer.sh
6+ RUN chmod +x /tmp/bazel-installer.sh && /tmp/bazel-installer.sh
87RUN bazel help info >/dev/null 2>&1
98
109# Install Python 2.7.12
@@ -18,4 +17,3 @@ CMD cp -r /opt/rules_python_source /opt/rules_python && \
1817 bazel build //rules_python:piptool.par //rules_python:whltool.par && \
1918 cp bazel-bin/rules_python/piptool.par bazel-bin/rules_python/whltool.par /opt/rules_python_source/tools/ && \
2019 chown --reference=/opt/rules_python_source/update_tools.sh /opt/rules_python_source/tools/piptool.par /opt/rules_python_source/tools/whltool.par
21-
You can’t perform that action at this time.
0 commit comments