Files
ortools-clone/makefiles/docker/ubuntu/Dockerfile
Corentin Le Molgat 25ae8eed2a make: clean ci
2024-11-15 09:51:34 +01:00

19 lines
634 B
Docker

# Create a virtual environment with all tools installed
# ref: https://hub.docker.com/_/ubuntu
FROM ubuntu:rolling AS base
# Install system build dependencies
ENV PATH=/usr/local/bin:$PATH
RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq \
git wget libssl-dev pkg-config build-essential \
cmake autoconf libtool zlib1g-dev lsb-release \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
CMD [ "/usr/bin/bash" ]
FROM base AS swig
RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq swig \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*