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:
10
test/docker/centos6
Normal file
10
test/docker/centos6
Normal 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
10
test/docker/centos7
Normal 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
12
test/docker/debianstable
Normal 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
12
test/docker/debiantesting
Normal 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
11
test/docker/fedorarawhide
Normal 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"]
|
||||
Reference in New Issue
Block a user