Skip to content

Commit 08ba1d6

Browse files
ptarjanbrandjon
authored andcommitted
Pin bazel version used for update_tools.sh (bazel-contrib#210)
1 parent 640e88a commit 08ba1d6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tools/update_tools/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM 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
87
RUN 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-

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy