Files
ortools-clone/makefiles/docker/opensuse/Dockerfile
Mizux Seiha e7d5cde718 ci: Add Makefile CI
* Add documentation
* Add docker layer diagram
* Add Docker/Makefile ci
* Add gh workflow
* gh workflow disable fail-fast
2020-04-13 17:41:46 +02:00

18 lines
530 B
Docker

# Create a virtual environment with all tools installed
# ref: https://hub.docker.com/r/opensuse/tumbleweed
FROM opensuse/tumbleweed AS base
LABEL maintainer="corentinl@google.com"
# Install system build dependencies
ENV PATH=/usr/local/bin:$PATH
RUN zypper update -y \
&& zypper install -y git gcc gcc-c++ cmake \
wget which lsb-release pkgconfig autoconf libtool zlib-devel \
&& zypper clean -a
ENV CC=gcc CXX=g++
CMD [ "/usr/bin/bash" ]
FROM base AS swig
RUN zypper update -y \
&& zypper install -y swig \
&& zypper clean -a