Skip to content

Commit

Permalink
update dockerfile for cpp and 3d poses
Browse files Browse the repository at this point in the history
  • Loading branch information
changh95 committed Oct 9, 2023
1 parent ccdb265 commit 45c4f22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 35 deletions.
4 changes: 2 additions & 2 deletions 1_7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN cd fastcampus_slam_codes/1_7 &&\
mkdir build && cd build &&\
cmake .. &&\
make -j
cmake -GNinja .. &&\
ninja -j4
36 changes: 3 additions & 33 deletions 2_2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,37 +1,7 @@
FROM ubuntu:jammy
FROM slam:latest

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \
apt-get install -y \
sudo \
unzip \
cmake \
wget \
build-essential \
ninja-build \
libglew-dev \
libglvnd-dev \
libgl1-mesa-dev \
libegl1-mesa-dev \
git \
libjpeg-dev \
libpng-dev \
libtiff-dev \
libeigen3-dev

# Pangolin

RUN cd / && \
wget https://github.com/stevenlovegrove/Pangolin/archive/refs/tags/v0.6.zip &&\
unzip v0.6.zip && \
mkdir build && \
cd build &&\
cmake -DCMAKE_BUILD_TYPE=Release -GNinja ../Pangolin-0.6 &&\
ninja -j4 && \
ninja install

RUN git clone https://github.com/changh95/fastcampus_slam_codes.git && \
cd fastcampus_slam_codes/2_2.3d_회전과_이동 &&\
RUN cd fastcampus_slam_codes/2_2.3d_회전과_이동 &&\
mkdir build && cd build && \
cmake -GNinja ../ && \
ninja
ninja -j4

0 comments on commit 45c4f22

Please sign in to comment.