Skip to content

Commit

Permalink
Add groovy docker for 6.14
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jul 8, 2024
1 parent 23a707f commit 4e6bdda
Showing 1 changed file with 101 additions and 0 deletions.
101 changes: 101 additions & 0 deletions docker/dev/v6.14/Dockerfile.ubuntu.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
ARG TARGETPLATFORM=linux/amd64
FROM --platform=$TARGETPLATFORM ubuntu:groovy

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-14 \
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 \
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 \
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 4e6bdda

Please sign in to comment.