summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2018-11-04 20:22:38 -0300
committerJordan Petridis <jordan@centricular.com>2018-11-07 16:15:43 +0200
commit778359feb8c98c566a9b16a94cab88dbc4e6501f (patch)
tree9cb375e01d5bb18ada5820c2ef55d17bb8ed289e
parentfc8b90123d5d179829d07bfe0dd9e81777e371c0 (diff)
docker: Add an archlinux dockerfile
-rw-r--r--docker/build-base-images/Dockerfile-archlinux25
1 files changed, 25 insertions, 0 deletions
diff --git a/docker/build-base-images/Dockerfile-archlinux b/docker/build-base-images/Dockerfile-archlinux
new file mode 100644
index 0000000..79e5364
--- /dev/null
+++ b/docker/build-base-images/Dockerfile-archlinux
@@ -0,0 +1,25 @@
+FROM base/devel:latest
+
+ENV LANG=en_US.UTF-8
+ENV GST_BUILD_PATH="/gst-build/"
+ENV GST_VALIDATE_OUTPUT="/validate-output"
+ENV GST_VALIDATE_TESTSUITES="$GST_VALIDATE_OUTPUT/gst-integration-testsuites"
+ENV GST_BUILD_MESON_ARGS="-Dpython=disabled -Dlibav=enabled -Dugly=enabled -Dbad=enabled -Ddevtools=enabled -Dges=enabled -Drtsp_server=enabled -Domx=disabled -Dvaapi=disabled -Dsharp=enabled"
+ENV PATH="/usr/lib/ccache/bin/:${PATH}"
+
+RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
+
+RUN pacman -Sy --noconfirm python3 libxml2 libxslt cmake libyaml git make nodejs ninja clang llvm flex python-gobject gstreamer gst-plugins-base gst-plugins-bad gst-plugins-ugly gst-libav gst-editing-services python-pip npm json-glib gobject-introspection wget mono unzip glib2-docs xorg-xset xorg-server-xvfb ccache
+RUN pip install --upgrade git+https://github.com/hotdoc/hotdoc.git@gst git+https://github.com/hotdoc/hotdoc_c_extension.git@gst git+https://github.com/thiblahute/meson.git@hotdoc
+
+RUN mkdir $GST_VALIDATE_OUTPUT && \
+ git clone https://anongit.freedesktop.org/git/gstreamer/gst-integration-testsuites.git $GST_VALIDATE_TESTSUITES && \
+ cd $GST_VALIDATE_TESTSUITES/medias/ && \
+ python get_files.py defaults/
+
+# get gst-build and make all subprojects available
+RUN git clone git://anongit.freedesktop.org/gstreamer/gst-build $GST_BUILD_PATH && \
+ cd $GST_BUILD_PATH && \
+ meson build/ $GST_BUILD_MESON_ARGS
+
+RUN rm -Rf /var/cache/pacman/ \ No newline at end of file