Files
ortools-clone/cmake/docker/system_deps/Dockerfile
Mizux Seiha b53c28a6ca cmake: system_deps build googletest
have to built it to have string_view support
2025-11-12 17:26:35 +01:00

22 lines
515 B
Docker

# Create a virtual environment with all tools installed
# ref: https://hub.docker.com/_/archlinux/
FROM archlinux:latest AS base
# Install system build dependencies
ENV PATH=/usr/local/bin:$PATH
RUN pacman -Syu --noconfirm git base-devel cmake
# Get all dependencies from the package manager
RUN pacman -Syu --noconfirm \
abseil-cpp protobuf re2 eigen \
coin-or-cbc coin-or-clp \
glpk \
scip \
benchmark
ENTRYPOINT ["/bin/bash", "-c"]
CMD [ "/bin/bash" ]
FROM base AS swig
RUN pacman -Syu --noconfirm swig