-
Notifications
You must be signed in to change notification settings - Fork 677
Description
Hello Waymo Open Dataset Team,
Thank you for providing this excellent dataset.
I'm encountering an issue while trying to build a development environment using Docker to run the dataset tutorials (specifically //waymo_open_dataset/tutorial:jupyter_kernel). The process fails at the process "/bin/sh -c go install github.com/bazelbuild/bazelisk@latest" execution step.
Environment Details
Host OS: Windows 11
Docker Version: v. 4. 46. 0
FROM tensorflow/tensorflow:latest-py3
RUN apt-get update && apt-get install -y \
git build-essential wget vim findutils curl \
pkg-config zip g++ zlib1g-dev unzip python3 python3-pip
RUN apt-get install -y wget golang
RUN go install github.com/bazelbuild/bazelisk@latest
RUN pip3 install jupyter matplotlib jupyter_http_over_ws &&\
jupyter serverextension enable --py jupyter_http_over_ws
RUN git clone https://github.com/waymo-research/waymo-open-dataset.git waymo-od
WORKDIR /waymo-od/src
RUN pip_pkg_scripts/build.sh
EXPOSE 8888
RUN python3 -m ipykernel.kernelspec
CMD ["bash", "-c", "source /etc/bash.bashrc && bazel run -c opt //waymo_open_dataset/tutorial:jupyter_kernel"]
Expected Result:
The Dockerfile should build successfully.
Actual Result:
The build fails at the step that executes the pip_pkg_scripts/build.sh script with a 'not found' error. The same issue occurs even when using the --no-cache flag.
=> ERROR [4/9] RUN go install github.com/bazelbuild/bazelisk@latest 0.3s
------
> [4/9] RUN go install github.com/bazelbuild/bazelisk@latest:
0.237 can't load package: package github.com/bazelbuild/bazelisk@latest: cannot find package "github.com/bazelbuild/bazelisk@latest" in any of:
0.237 /usr/lib/go-1.10/src/github.com/bazelbuild/bazelisk@latest (from $GOROOT)
0.237 /root/go/src/github.com/bazelbuild/bazelisk@latest (from $GOPATH)
------
cpu-jupyter.Dockerfile:8
--------------------
6 |
7 | RUN apt-get install -y wget golang
8 | >>> RUN go install github.com/bazelbuild/bazelisk@latest
9 |
10 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c go install github.com/bazelbuild/bazelisk@latest" did not complete successfully: exit code: 1
Question
Could you please advise on the recommended way to build a development environment for the tutorials? if there are any corrections needed in my Dockerfile, your guidance would be greatly appreciated.
Thank you.