Imported Upstream version 0.1.17
[platform/upstream/libnice.git] / tests / docker / centos7-meson / Dockerfile
1 # build with
2 # docker build -t registry.freedesktop.org/libnice/libnice/centos7/meson-build:$(date --rfc-3339=date) .
3 # docker tag registry.freedesktop.org/libnice/libnice/centos7/meson-build:$(date --rfc-3339=date) registry.freedesktop.org/libnice/libnice/centos7/meson-build:latest
4 # docker push registry.freedesktop.org/libnice/libnice/centos7/meson-build:latest
5 # docker push registry.freedesktop.org/libnice/libnice/centos7/meson-build:$(date --rfc-3339=date)
6
7 # alternatively
8
9 # export BUILDAH_FORMAT=docker
10 # buildah bud -t registry.freedesktop.org/libnice/libnice/centos7/meson-build:$(date --rfc-3339=date) .
11 # buildah tag registry.freedesktop.org/libnice/libnice/centos7/meson-build:$(date --rfc-3339=date) registry.freedesktop.org/libnice/libnice/centos7/meson-build:latest
12 # buildah push registry.freedesktop.org/libnice/libnice/centos7/meson-build:latest
13 # buildah push registry.freedesktop.org/libnice/libnice/centos7/meson-build:$(date --rfc-3339=date)
14
15 FROM centos:centos7
16
17 RUN yum -y update; yum clean all
18 RUN yum -y install git gtk-doc gnutls-devel gupnp-igd-devel gstreamer1-devel gobject-introspection-devel valgrind; yum clean all
19 RUN yum -y install net-tools; yum clean all
20
21
22 RUN yum -y install centos-release-scl ; yum clean all
23 RUN yum -y install rh-python36; yum clean all
24 RUN scl enable rh-python36 "pip3 install meson"
25
26 RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; yum clean all
27 RUN yum -y install ninja-build; yum clean all