Closed monajalal closed 6 months ago
Greetings, I am facing the issue while using the dockerfile to build the image
It should has nothing to do with Ubuntu 22. What if you just do pip install pyrender
and skip pyglet
Hi Dear bowen, I tried just do pip install pyrender
and skip pyglet
, it seems work, and now i am trying continue to do some test. If i have any questions i will give you feed back
@wenbowen123 thanks a lot for your response. Confirming that it also worked for me.
(base) mona@ada:~/iros20-6d-pose-tracking/docker$ docker build -t posetrack .
[+] Building 1432.2s (11/11) FINISHED docker:default
=> [internal] load build definition from dockerfile 0.0s
=> => transferring dockerfile: 2.75kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/nvidia/cudagl:11.3.0-devel-ubuntu16.04 5.6s
=> [1/7] FROM docker.io/nvidia/cudagl:11.3.0-devel-ubuntu16.04@sha256:01ed8befe59f7d9c967ff84a4ced41af5dfecf5028d415579e5837a9ce7425b6 0.0s
=> CACHED [2/7] RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa && add-apt-repository ppa:ubuntu-toolchain-r/test && add-apt-reposi 0.0s
=> CACHED [3/7] RUN apt-get install -y python3.6 python3.6-dev && ln -sf /usr/bin/python3.6 /usr/local/bin/python3 && ln -sf /usr/bin/python3.6 /usr/bin/python3 && cd / && wget https://bootstra 0.0s
=> [4/7] RUN rm -rf /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so && python3 -m pip install --upgrade pip && python3 -m pip install trimesh==3.7.12 open3d==0.9.0.0 opencv-python trans 1300.6s
=> [5/7] RUN python3 -m pip install torch==1.10.2+cu113 torchvision==0.11.3+cu113 torchaudio==0.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html 70.1s
=> [6/7] RUN cd / && wget https://download.blender.org/release/Blender2.79/blender-2.79b-linux-glibc219-x86_64.tar.bz2 && tar xvf blender-2.79b-linux-glibc219-x86_64.tar.bz2 && rm -rf blender 14.7s
=> [7/7] RUN cd / && rm -rf get-pip.py && wget https://bootstrap.pypa.io/pip/3.5/get-pip.py && /blender-2.79b-linux-glibc219-x86_64/2.79/python/bin/python3.5m get-pip.py && rm -rf /blender- 18.3s
=> exporting to image 22.9s
=> => exporting layers 22.9s
=> => writing image sha256:a91070b8c9e2dd280bfa98abb53a87712e6665442f2e5ff7226a5cb85d866a6d 0.0s
=> => naming to docker.io/library/posetrack
Could you please confirm if the dockerfile may work for building in Ubuntu 22.04?