summaryrefslogtreecommitdiff
path: root/tests/docker/centos7-meson/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker/centos7-meson/Dockerfile')
-rw-r--r--tests/docker/centos7-meson/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/docker/centos7-meson/Dockerfile b/tests/docker/centos7-meson/Dockerfile
new file mode 100644
index 0000000..f2efb6b
--- /dev/null
+++ b/tests/docker/centos7-meson/Dockerfile
@@ -0,0 +1,19 @@
+# build with
+# docker build -t registry.freedesktop.org/ocrete/libnice/centos7/meson-build:$(date --rfc-3339=date) .
+# docker tag registry.freedesktop.org/ocrete/libnice/centos7/meson-build:$(date --rfc-3339=date) registry.freedesktop.org/ocrete/libnice/centos7/meson-build:latest
+# docker push registry.freedesktop.org/ocrete/libnice/centos7/meson-build:latest
+# docker push registry.freedesktop.org/ocrete/libnice/centos7/meson-build:$(date --rfc-3339=date)
+
+FROM centos:centos7
+
+RUN yum -y update; yum clean all
+RUN yum -y install git gtk-doc gnutls-devel gupnp-igd-devel gstreamer1-devel gobject-introspection-devel; yum clean all
+RUN yum -y install net-tools; yum clean all
+
+
+RUN yum -y install centos-release-scl ; yum clean all
+RUN yum -y install rh-python36; yum clean all
+RUN scl enable rh-python36 "pip3 install meson"
+
+RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; yum clean all
+RUN yum -y install ninja-build; yum clean all