Skip to content

Commit

Permalink
Merge pull request #46 from HiroIshida/fix_ci
Browse files Browse the repository at this point in the history
Fix docker build 2023/11
  • Loading branch information
HiroIshida authored Nov 17, 2023
2 parents 82586c9 + b347b36 commit 2e5dae7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2e5dae7

Please sign in to comment.