-
Notifications
You must be signed in to change notification settings - Fork 2.6k
docker build failed on mac tahoe #7464
Copy link
Copy link
Open
Description
Checklist
- I have searched for similar issues.
- For Python issues, I have tested with the latest development wheel.
- I have checked the release documentation and the latest documentation (for
mainbranch).
Steps to reproduce the issue
I first cloned Open3D by:
git clone https://github.com/isl-org/Open3D.git
cd Open3D
Then, I build Open3D (on Tahoe 26.3.1) with:
git checkout v0.19.0 # also tried main HEAD
cd docker
./docker_build.sh openblas-arm64-py311
Error message
#10 [ 6/17] RUN conda create -y -n open3d python=3.11 && source activate open3d
#10 0.782
#10 0.782 CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
#10 0.782 - https://repo.anaconda.com/pkgs/main
#10 0.782 - https://repo.anaconda.com/pkgs/r
#10 0.782
#10 0.782 To accept these channels' Terms of Service, run the following commands:
#10 0.782 conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
#10 0.782 conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
#10 0.782
#10 0.782 For information on safely removing channels from your conda configuration,
#10 0.782 please see the official documentation:
#10 0.782
#10 0.782 https://www.anaconda.com/docs/tools/working-with-conda/channels
#10 0.782
#10 ERROR: process "/bin/bash -c conda create -y -n open3d python=${PYTHON_VERSION} && source activate open3d" did not complete successfully: exit code: 1
------
> [ 6/17] RUN conda create -y -n open3d python=3.11 && source activate open3d:
0.782
0.782 To accept these channels' Terms of Service, run the following commands:
0.782 conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
0.782 conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
0.782
0.782 For information on safely removing channels from your conda configuration,
0.782 please see the official documentation:
0.782
0.782 https://www.anaconda.com/docs/tools/working-with-conda/channels
0.782
------
2 warnings found (use docker --debug to expand):
- InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name (line 3)
- UndefinedVar: Usage of undefined variable '$HOME' (line 57)
Dockerfile.openblas:46
--------------------
45 | ENV PATH="/root/miniconda3/envs/open3d/bin:${PATH}"
46 | >>> RUN conda create -y -n open3d python=${PYTHON_VERSION} \
47 | >>> && source activate open3d
48 | RUN which python \
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -c conda create -y -n open3d python=${PYTHON_VERSION} && source activate open3d" did not complete successfully: exit code: 1
What's next:
Debug this build failure with Gordon → docker ai "help me fix this build failure"Open3D, Python and System information
- Operating system: macOS 26.3.1 (25D2128)
- Python version: 3.11.10 (main, Dec 1 2024, 08:26:52) [Clang 16.0.0 (clang-1600.0.26.4)], but docker
- System architecture: apple-silicon
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): clang version 17.0.0 (clang-1700.6.4.2), but dockerAdditional information
$ docker -v
Docker version 29.3.0, build 5927d80c76
- Apple Virtualization framework
- Use Rosetta for x86_64/amd64 emulation on Apple Silicon
full output attached as a file: error.txt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels