Closed rnunziata closed 6 years ago
Seems to be a DeepMind Lab error: https://github.com/deepmind/lab/issues/106
Thanks ... added my data to that issue and I am closing this one.
I kind of came up with temporary fix for this. You just need to modify this repo's dockerfile to install the bazel 0.16.1 version.
The problem is that the following dockerfile code line,
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8"
gets the latest stable version which is bazel 0.17.1 which was released just days ago (2018-09-14)
I changed the line
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | \
tee /etc/apt/sources.list.d/bazel.list && \
curl https://bazel.build/bazel-release.pub.gpg | \
apt-key add - && \
apt-get update && apt-get install -y bazel
to
RUN export BAZEL_VERSION=0.16.1 && \
wget https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
sed -i 's@sudo@, @g' bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
chmod +x bazel-$BAZEL_VERSION-installer-linux-x86_64.sh &&\
./bazel-$BAZEL_VERSION-installer-linux-x86_64.sh --user
ENV PATH="/root/bin:${PATH}"
And It should build without errors. (as of 2018-09-18)
You can use the Dockerfile here
Trying Dockerfile and get the following: