Files
ortools-clone/makefiles/docker/opensuse/Dockerfile
Mizux Seiha 9105f053ac ci: Fix opensuse docker
`lsb_release -a` depends on getopt which is provided by util-linux
2020-11-25 13:42:51 +01:00

18 lines
541 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 util-linux 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