From 71efad0f659163934889855b8097f3445d3e3c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 6 May 2020 23:55:57 +0200 Subject: Update the test docker images to contain oragono instead of charybdis --- docker/test/alpine/Dockerfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docker/test/alpine/Dockerfile (limited to 'docker/test/alpine') diff --git a/docker/test/alpine/Dockerfile b/docker/test/alpine/Dockerfile new file mode 100644 index 0000000..8ba7ddf --- /dev/null +++ b/docker/test/alpine/Dockerfile @@ -0,0 +1,35 @@ +# This Dockerfile creates a docker image suitable to run biboumi’s build and +# tests. For example, it can be used on with gitlab-ci. + +FROM docker.io/alpine:latest + +ENV LC_ALL C.UTF-8 + +# Needed to build biboumi +RUN apk add --no-cache \ +git \ +make \ +cmake \ +g++ \ +libuuid \ +udns-dev \ +expat-dev \ +libidn-dev \ +sqlite-dev \ +botan-dev \ +util-linux-dev \ +libgcrypt-dev \ +postgresql-dev \ +valgrind \ +py3-pip \ +py3-lxml \ +python3-dev \ +libffi-dev \ +go \ +wget + +# Install oragono, for e2e tests +RUN wget "https://github.com/oragono/oragono/archive/v2.0.0.tar.gz" && tar xvf "v2.0.0.tar.gz" && cd "oragono-2.0.0" && make && cp ~/go/bin/oragono /usr/local/bin + +# Install slixmpp, for e2e tests +RUN git clone https://github.com/saghul/aiodns.git && cd aiodns && git checkout 7ee13f9bea25784322~ && python3 setup.py build && python3 setup.py install && git clone git://git.louiz.org/slixmpp && pip3 install pyasn1 && cd slixmpp && python3 setup.py build && python3 setup.py install -- cgit v1.2.3