Skip to content

[fix] dockerfile build error caused by trailing backslach#1

Open
hanzitong wants to merge 1 commit intolar-unibo:mainfrom
hanzitong:fix/dockerfile
Open

[fix] dockerfile build error caused by trailing backslach#1
hanzitong wants to merge 1 commit intolar-unibo:mainfrom
hanzitong:fix/dockerfile

Conversation

@hanzitong
Copy link

This PR fixes a typo in the Dockerfile.
The extra trailing backslash caused docker compose build errors.

@hanzitong
Copy link
Author

For reference, the error log from docker compose build is shown below.

MY_PC:~/DLO_MultiView_Tracking/docker$ docker compose -f docker-compose-gui.yml build
WARN[0000] /home/nachi/DLO_MultiView_Tracking/docker/docker-compose-gui.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Building 524.0s (15/15) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 570B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.45kB 0.0s
=> WARN: NoEmptyContinuation: Empty continuation line (line 58) 0.0s
=> [internal] load metadata for docker.io/library/ros:humble-perception 1.9s
=> [auth] library/ros:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [ 1/10] FROM docker.io/library/ros:humble-perception@sha256:36f93aeb176121a456dc52cd9f98de940b5d1f7fd73730666cc65208332110ed 0.0s
=> CACHED [ 2/10] WORKDIR /ros2_ws 0.0s
=> CACHED [ 3/10] RUN apt-get update && apt-get install -y build-essential cmake git-all software-properties-common && rm -rf /var/lib/apt/lists/* 0.0s
=> CACHED [ 4/10] RUN apt-get update && apt-get install -y ros-humble-librealsense2* ros-humble-realsense2-* ros-humble-pcl-ros ros-humble-vision-msgs 0.0s
=> CACHED [ 5/10] RUN apt-get update && apt-get install -y ros-humble-rviz2 && rm -rf /var/lib/apt/lists/* 0.0s
=> CACHED [ 6/10] RUN apt-get update && apt-get install terminator wget -y 0.0s
=> CACHED [ 7/10] RUN wget -qO- https://docs.luxonis.com/install_dependencies.sh | bash 0.0s
=> CACHED [ 8/10] RUN sudo apt install -y ros-humble-depthai-ros 0.0s
=> CACHED [ 9/10] RUN . /opt/ros/humble/setup.bash 0.0s
=> ERROR [10/10] RUN pip install pyelastica colorama arrow torch==2.5 depthai pymeshfix trimesh mesh_to_sdf RUN pip ins 521.9s

[10/10] RUN pip install pyelastica colorama arrow torch==2.5 depthai pymeshfix trimesh mesh_to_sdf RUN pip install torch_geometric==2.6.1 torch-cluster==1.6.3:
0.886 Collecting pyelastica
1.212 Downloading pyelastica-0.3.3.post2-py3-none-any.whl (139 kB)
1.353 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.0/140.0 KB 993.8 kB/s eta 0:00:00
1.438 Collecting colorama
1.499 Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
1.617 Collecting arrow
1.667 Downloading arrow-1.4.0-py3-none-any.whl (68 kB)
1.735 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.8/68.8 KB 977.1 kB/s eta 0:00:00
1.997 Collecting torch==2.5
2.057 Downloading torch-2.5.0-cp310-cp310-manylinux1_x86_64.whl (906.4 MB)
475.9 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 906.4/906.4 MB 1.7 MB/s eta 0:00:00
476.9 Collecting depthai
477.0 Downloading depthai-3.3.0-cp39.cp310.cp311.cp312.cp313.cp314-cp39.cp310.cp311.cp312.cp313.cp314-manylinux_2_28_x86_64.whl (79.2 MB)
519.5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.2/79.2 MB 1.9 MB/s eta 0:00:00
519.7 Collecting pymeshfix
519.7 Downloading pymeshfix-0.18.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.4 MB)
520.3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 2.4 MB/s eta 0:00:00
520.7 Collecting trimesh
520.7 Downloading trimesh-4.11.1-py3-none-any.whl (740 kB)
521.1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 740.4/740.4 KB 2.1 MB/s eta 0:00:00
521.3 Collecting mesh_to_sdf
521.4 Downloading mesh_to_sdf-0.0.15-py3-none-any.whl (14 kB)
521.6 Collecting RUN
521.7 Downloading run-0.3-py3-none-any.whl (5.1 kB)
521.7 Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.0.2)
521.7 ERROR: Could not find a version that satisfies the requirement install (from versions: none)
521.7 ERROR: No matching distribution found for install


Dockerfile:46


45 |

46 | >>> RUN pip install \

47 | >>> pyelastica \

48 | >>> colorama \

49 | >>> arrow \

50 | >>> torch==2.5 \

51 | >>> depthai \

52 | >>> pymeshfix \

53 | >>> trimesh \

54 | >>> mesh_to_sdf \

55 | >>>

56 | >>> RUN pip install \

57 | >>> torch_geometric==2.6.1 \

58 | >>> torch-cluster==1.6.3

59 |


failed to solve: process "/bin/bash -c pip install pyelastica colorama arrow torch==2.5 depthai pymeshfix trimesh mesh_to_sdf RUN pip install torch_geometric==2.6.1 torch-cluster==1.6.3" did not complete successfully: exit code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant