Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Add image for 6.14 + ubuntu:23.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Dec 19, 2023
1 parent f157cde commit a8ece9c
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions v6.13/Dockerfile.ubuntu.mantic
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
ARG TARGETPLATFORM=linux/amd64
FROM --platform=$TARGETPLATFORM ubuntu:23.10

ARG DEBIAN_FRONTEND=noninteractive

# Use /bin/bash to use pushd/popd
SHELL ["/bin/bash", "-c"]

# Update apt-get
RUN apt-get update -qq

# ==============================================================================
# Build tools
# ==============================================================================
RUN apt-get install -y --no-install-recommends \
build-essential \
clang \
clang-format-12 \
cmake \
curl \
doxygen \
git \
lcov \
lsb-release \
pkg-config \
software-properties-common \
valgrind

# ==============================================================================
# DART required dependencies
# ==============================================================================
RUN apt-get install -y --no-install-recommends \
libassimp-dev \
libccd-dev \
libeigen3-dev \
libfcl-dev \
libfmt-dev

# ==============================================================================
# DART optional dependencies
# ==============================================================================

RUN apt-get install -y --no-install-recommends \
coinor-libipopt-dev \
freeglut3-dev \
libxi-dev \
libxmu-dev \
libbullet-dev \
liblz4-dev \
libflann-dev \
libtinyxml2-dev \
liburdfdom-dev \
liburdfdom-headers-dev \
libopenscenegraph-dev \
libnlopt-cxx-dev \
liboctomap-dev \
libode-dev \
libimgui-dev \
libspdlog-dev

# pagmo2
RUN apt-get install -y --no-install-recommends \
coinor-libipopt-dev \
libboost-serialization-dev \
libeigen3-dev \
libnlopt-cxx-dev \
libtbb-dev
RUN git clone https://github.com/esa/pagmo2.git -b 'v2.17.0' --single-branch --depth 1 \
&& mkdir pagmo2/build \
&& pushd pagmo2/build \
&& cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DPAGMO_WITH_EIGEN3=ON \
-DPAGMO_WITH_NLOPT=OFF \
-DPAGMO_WITH_IPOPT=ON \
-DPAGMO_BUILD_TESTS=OFF \
-DPAGMO_BUILD_BENCHMARKS=OFF \
-DPAGMO_BUILD_TUTORIALS=OFF \
&& make -j$(nproc) \
&& make install \
&& popd \
&& rm -rf pagmo2

# ==============================================================================
# Python binding dependencies
# ==============================================================================

RUN apt-get install -y --no-install-recommends \
libpython3-dev \
pybind11-dev \
python3 \
python3-dev \
python3-distutils \
python3-numpy \
python3-pip \
python3-setuptools

RUN pip3 install pytest -U

# ==============================================================================
# Clean up
# ==============================================================================

RUN rm -rf /var/lib/apt/lists/*

0 comments on commit a8ece9c

Please sign in to comment.