Skip to content

Commit

Permalink
GTSAM working in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
snelsondurrant committed Nov 8, 2024
1 parent ab91a27 commit 115949e
Show file tree
Hide file tree
Showing 27 changed files with 2 additions and 2,478 deletions.
1 change: 0 additions & 1 deletion build/.built_by

This file was deleted.

Empty file removed build/COLCON_IGNORE
Empty file.
1 change: 0 additions & 1 deletion build/cougars_localization/colcon_build.rc

This file was deleted.

15 changes: 2 additions & 13 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@

FROM ubuntu:22.04

ARG LABNAME=frostlab
ARG DEBIAN_FRONTEND=noninteractive

# Check architecture
ARG TARGETARCH

# Set desired username/password
ARG LABNAME=frostlab

# Update and upgrade
RUN apt update && apt upgrade -y

Expand All @@ -22,8 +18,7 @@ RUN mkdir -p -m0755 /etc/apt/keyrings
RUN apt update && apt install -y \
curl \
wget \
unzip \
python3-pip
unzip
RUN curl https://download.koromix.dev/debian/koromix-archive-keyring.gpg -o /etc/apt/keyrings/koromix-archive-keyring.gpg
RUN echo "deb [signed-by=/etc/apt/keyrings/koromix-archive-keyring.gpg] https://download.koromix.dev/debian stable main" > /etc/apt/sources.list.d/koromix.dev-stable.list
RUN apt update && apt install -y tytools
Expand Down Expand Up @@ -73,8 +68,6 @@ RUN cmake .. -DGTSAM_BUILD_PYTHON=ON -DGTSAM_PYTHON_VERSION=3.10.12
RUN make python-install
WORKDIR /home/${LABNAME}

RUN rm -r gtsam

# Install Eigen
RUN wget -O Eigen.zip https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip
RUN unzip Eigen.zip
Expand Down Expand Up @@ -143,12 +136,8 @@ RUN apt install -y cmake \
libtiff5-dev
USER ${LABNAME}

# Build Arguments
ARG SVN_REV=HEAD

# UTF-8 Encoding
ENV LC_CTYPE="C.UTF-8"

RUN svn co https://oceanai.mit.edu/svn/moos-ivp-aro/trunk moos-ivp

WORKDIR /home/${LABNAME}/moos-ivp
Expand Down
1 change: 0 additions & 1 deletion install/.colcon_install_layout

This file was deleted.

Empty file removed install/COLCON_IGNORE
Empty file.
Loading

0 comments on commit 115949e

Please sign in to comment.