tools/docker: Add tests for Fedora 35
This commit is contained in:
14
tools/docker/test/amd64/fedora-35/cc.Dockerfile
Normal file
14
tools/docker/test/amd64/fedora-35/cc.Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM fedora:35
|
||||
LABEL maintainer="corentinl@google.com"
|
||||
|
||||
RUN dnf -y update \
|
||||
&& dnf -y install git \
|
||||
wget which redhat-lsb-core pkgconfig autoconf libtool zlib-devel \
|
||||
&& dnf -y groupinstall "Development Tools" \
|
||||
&& dnf -y install gcc-c++ cmake \
|
||||
&& dnf clean all
|
||||
|
||||
WORKDIR /root
|
||||
ADD or-tools_fedora-35_v*.tar.gz .
|
||||
|
||||
RUN cd or-tools_*_v* && make test_cc
|
||||
22
tools/docker/test/amd64/fedora-35/dotnet.Dockerfile
Normal file
22
tools/docker/test/amd64/fedora-35/dotnet.Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM fedora:35
|
||||
LABEL maintainer="corentinl@google.com"
|
||||
|
||||
RUN dnf -y update \
|
||||
&& dnf -y install git \
|
||||
wget which redhat-lsb-core pkgconfig autoconf libtool zlib-devel \
|
||||
&& dnf -y groupinstall "Development Tools" \
|
||||
&& dnf -y install gcc-c++ cmake \
|
||||
&& dnf clean all
|
||||
|
||||
# .Net Install
|
||||
# see: https://docs.microsoft.com/en-us/dotnet/core/install/linux-fedora
|
||||
RUN dnf -y update \
|
||||
&& dnf -y install dotnet-sdk-3.1 dotnet-sdk-6.0 \
|
||||
&& dnf clean all
|
||||
# Trigger first run experience by running arbitrary cmd
|
||||
RUN dotnet --info
|
||||
|
||||
WORKDIR /root
|
||||
ADD or-tools_fedora-35_v*.tar.gz .
|
||||
|
||||
RUN cd or-tools_*_v* && make test_dotnet
|
||||
20
tools/docker/test/amd64/fedora-35/java.Dockerfile
Normal file
20
tools/docker/test/amd64/fedora-35/java.Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM fedora:35
|
||||
LABEL maintainer="corentinl@google.com"
|
||||
|
||||
RUN dnf -y update \
|
||||
&& dnf -y install git \
|
||||
wget which redhat-lsb-core pkgconfig autoconf libtool zlib-devel \
|
||||
&& dnf -y groupinstall "Development Tools" \
|
||||
&& dnf -y install gcc-c++ cmake \
|
||||
&& dnf clean all
|
||||
|
||||
# Java Install
|
||||
RUN dnf -y update \
|
||||
&& dnf -y install java-11-openjdk java-11-openjdk-devel maven \
|
||||
&& dnf clean all
|
||||
ENV JAVA_HOME=/usr/lib/jvm/java-openjdk
|
||||
|
||||
WORKDIR /root
|
||||
ADD or-tools_fedora-35_v*.tar.gz .
|
||||
|
||||
RUN cd or-tools_*_v* && make test_java
|
||||
Reference in New Issue
Block a user