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

Commit

Permalink
Add noble for v6.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jan 28, 2024
1 parent a8ece9c commit 85efb3c
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [focal, jammy]
distro: [focal, jammy, noble]
dart_version: [v6.13, v6.14]
platforms: ["linux/amd64,linux/arm64,linux/ppc64le,linux/s390x"]
build_min: [OFF]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG TARGETPLATFORM=linux/amd64
FROM --platform=$TARGETPLATFORM ubuntu:23.10
FROM --platform=$TARGETPLATFORM ubuntu:noble

ARG DEBIAN_FRONTEND=noninteractive

Expand Down
104 changes: 104 additions & 0 deletions v6.14/Dockerfile.ubuntu.noble
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
ARG TARGETPLATFORM=linux/amd64
FROM --platform=$TARGETPLATFORM ubuntu:noble

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 85efb3c

Please sign in to comment.