Commit 92a2d6b7 authored by Olivier Crête's avatar Olivier Crête

tests: Add Dockerfiles

parent 6df8fa64
# build with
# docker build -t registry.freedesktop.org/ocrete/libnice/centos7/autotools-build:$(date --rfc-3339=date) .
# docker tag registry.freedesktop.org/ocrete/libnice/centos7/autotools-build:$(date --rfc-3339=date) registry.freedesktop.org/ocrete/libnice/centos7/autotools-build:latest
# docker push registry.freedesktop.org/ocrete/libnice/centos7/autotools-build:$(date --rfc-3339=date)
# docker push registry.freedesktop.org/ocrete/libnice/centos7/autotools-build:latest
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 autoconf automake libtool; yum clean all
RUN yum -y install net-tools; yum clean all
# 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment