Files
ortools-clone/tools/docker/test/opensuse-leap/cpp.Dockerfile

19 lines
528 B
Docker
Raw Normal View History

2021-10-07 13:51:33 +02:00
# Create a virtual environment with all tools installed
# ref: https://hub.docker.com/r/opensuse/leap
FROM opensuse/leap
# Install system build dependencies
ENV PATH=/usr/local/bin:$PATH
RUN zypper update -y \
2022-03-04 13:28:14 +01:00
&& zypper install -y git gcc11 gcc11-c++ \
2021-10-07 13:51:33 +02:00
wget which lsb-release util-linux pkgconfig autoconf libtool zlib-devel \
&& zypper clean -a
2022-03-04 13:28:14 +01:00
ENV CC=gcc-11 CXX=g++-11
2021-10-07 13:51:33 +02:00
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]
WORKDIR /root
2022-03-01 19:56:34 +01:00
ADD or-tools_amd64_opensuse-leap_v*.tar.gz .
2021-10-07 13:51:33 +02:00
RUN cd or-tools_*_v* && make test_cc