Skip to content

Commit 6ae0570

Browse files
committed
roll back PR #1275
1 parent 87e2f91 commit 6ae0570

File tree

6 files changed

+511
-1527
lines changed

6 files changed

+511
-1527
lines changed

gpu/Dockerfile

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,19 @@ RUN apt-get -qq update \
1515
curl jq less screen > /dev/null 2>&1 && apt-get clean
1616

1717
# Install bazel signing key, repo and package
18-
ENV bazel_kr_path=/usr/share/keyrings/bazel-keyring.gpg \
19-
bazel_version=7.4.0 \
20-
bazel_repo_data="http://storage.googleapis.com/bazel-apt stable jdk1.8" \
21-
DEBIAN_FRONTEND=noninteractive
18+
ENV bazel_kr_path=/usr/share/keyrings/bazel-release.pub.gpg
19+
ENV bazel_repo_data="http://storage.googleapis.com/bazel-apt stable jdk1.8"
2220

2321
RUN /usr/bin/curl -s https://bazel.build/bazel-release.pub.gpg \
2422
| gpg --dearmor -o "${bazel_kr_path}" \
2523
&& echo "deb [arch=amd64 signed-by=${bazel_kr_path}] ${bazel_repo_data}" \
2624
| dd of=/etc/apt/sources.list.d/bazel.list status=none \
2725
&& apt-get update -qq
2826

29-
RUN apt-get autoremove -y -qq > /dev/null 2>&1 && \
30-
apt-get install -y -qq default-jdk python3-setuptools bazel-${bazel_version} > /dev/null 2>&1 && \
27+
RUN apt-get autoremove -y -qq && \
28+
apt-get install -y -qq default-jdk python3-setuptools bazel > /dev/null 2>&1 && \
3129
apt-get clean
3230

33-
# Set bazel-${bazel_version} as the default bazel alternative in this container
34-
RUN update-alternatives --install /usr/bin/bazel bazel /usr/bin/bazel-${bazel_version} 1 && \
35-
update-alternatives --set bazel /usr/bin/bazel-${bazel_version}
36-
3731
# Install here any utilities you find useful when troubleshooting
3832
RUN apt-get -y -qq install emacs-nox vim uuid-runtime > /dev/null 2>&1 && apt-get clean
3933

0 commit comments

Comments
 (0)