forked from changh95/fastcampus_slam_codes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dockerfile for cpp and 3d poses
- Loading branch information
Showing
2 changed files
with
5 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|