Add docker-compose.yml to be used for compile tests

Ideally this will be expanded in order to simplify compilation tests of
DAHDI on supported distributions.

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
Shaun Ruffell
2020-02-23 19:39:26 -06:00
parent 26fb7c34cb
commit 90e8a54e3a
8 changed files with 155 additions and 0 deletions

10
test/docker/centos6 Normal file
View File

@@ -0,0 +1,10 @@
FROM centos:6
RUN yum update -y
RUN yum install -y \
gcc \
git \
make \
wget
RUN yum install -y kernel-devel
CMD ["/source/test/test-build.sh"]

10
test/docker/centos7 Normal file
View File

@@ -0,0 +1,10 @@
FROM centos:7
RUN yum update -y
RUN yum install -y \
gcc \
git \
make \
wget
RUN yum install -y kernel-devel.x86_64 0:3.10.0-1062.12.1
CMD ["/source/test/test-build.sh"]

12
test/docker/debianstable Normal file
View File

@@ -0,0 +1,12 @@
FROM debian:stable
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
gcc \
git \
linux-headers-amd64 \
make \
wget
CMD ["/source/test/test-build.sh"]

12
test/docker/debiantesting Normal file
View File

@@ -0,0 +1,12 @@
FROM debian:testing
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
gcc \
git \
linux-headers-amd64 \
make \
wget
CMD ["/source/test/test-build.sh"]

11
test/docker/fedorarawhide Normal file
View File

@@ -0,0 +1,11 @@
FROM fedora:rawhide
RUN dnf update -y && dnf install -y \
diffutils \
gcc \
git \
kmod \
make \
wget
RUN dnf update -y && dnf install -y kernel-devel
CMD ["/source/test/test-build.sh"]