cmake(ci): use zypper refresh on opensuse
This commit is contained in:
@@ -4,13 +4,13 @@ FROM opensuse/tumbleweed AS base
|
||||
LABEL maintainer="corentinl@google.com"
|
||||
# Install system build dependencies
|
||||
ENV PATH=/usr/local/bin:$PATH
|
||||
RUN zypper update -y \
|
||||
RUN zypper refresh \
|
||||
&& zypper install -y git gcc gcc-c++ cmake \
|
||||
&& zypper clean -a
|
||||
ENV CC=gcc CXX=g++
|
||||
CMD [ "/usr/bin/bash" ]
|
||||
|
||||
FROM base AS swig
|
||||
RUN zypper update -y \
|
||||
RUN zypper refresh \
|
||||
&& zypper install -y swig \
|
||||
&& zypper clean -a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM ortools/cmake:opensuse_swig AS env
|
||||
# see: https://docs.microsoft.com/en-us/dotnet/core/install/linux-opensuse
|
||||
RUN zypper update -y \
|
||||
RUN zypper refresh \
|
||||
&& zypper install -y wget tar gzip libicu-devel
|
||||
|
||||
# .NET install
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM ortools/cmake:opensuse_swig AS env
|
||||
# Install Java JDK and Maven
|
||||
RUN zypper update -y \
|
||||
RUN zypper refresh \
|
||||
&& zypper install -y java-17-openjdk-devel maven \
|
||||
&& zypper clean -a
|
||||
ENV PATH=/usr/share/maven/bin:$PATH
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM ortools/cmake:opensuse_swig AS env
|
||||
ENV PATH=/root/.local/bin:$PATH
|
||||
RUN zypper update -y \
|
||||
RUN zypper refresh \
|
||||
&& zypper install -y python3 python3-pip python3-devel \
|
||||
&& zypper clean -a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user