From 6e8797da085a3d2f7f4b548a9786385c93cff9f7 Mon Sep 17 00:00:00 2001 From: HiroIshida Date: Fri, 17 Nov 2023 09:23:40 +0900 Subject: [PATCH 1/3] [dockerfile] fix: use runtime image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2229a35..248a95c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG INSTALL_JSK_PCL=true -FROM nvidia/cuda:11.2.2-devel-ubuntu20.04 +FROM nvidia/cuda:11.2.2-runtime-ubuntu20.04 ENV DEBIAN_FRONTEND=noninteractive RUN rm /etc/apt/sources.list.d/cuda.list From cb6488dea9999e5cbf5a375395af0505d72ddc2e Mon Sep 17 00:00:00 2001 From: HiroIshida Date: Fri, 17 Nov 2023 20:43:38 +0900 Subject: [PATCH 2/3] maint: fix numpy version --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 685573f..30c8c16 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ ftfy==6.0.3 regex==2022.1.18 fasttext==0.9.2 scikit-learn==1.0.2 -numpy # remove version specification for local install +numpy==1.22.0 lvis==0.5.3 nltk==3.6.7 git+https://github.com/openai/CLIP.git From b347b36aa1e330f3ba1958fa70c60ed6a5eeb055 Mon Sep 17 00:00:00 2001 From: HiroIshida Date: Fri, 17 Nov 2023 20:48:55 +0900 Subject: [PATCH 3/3] fix: follow updated ros noetic installation instruction --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 248a95c..20dd881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,13 +29,15 @@ RUN echo 'user:user' | chpasswd RUN apt-get update && apt-get install -q -y --no-install-recommends \ dirmngr \ gnupg2 \ + curl \ && rm -rf /var/lib/apt/lists/* # setup sources.list -RUN echo "deb http://packages.ros.org/ros/ubuntu focal main" > /etc/apt/sources.list.d/ros1-latest.list +RUN sudo apt-get update && apt-get install -y lsb-release +RUN sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' # setup keys -RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 +RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - # setup environment ENV LANG C.UTF-8