Initial commit

Wed, 03 May 2017 12:06:37 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 03 May 2017 12:06:37 +0100
changeset 0
1eb0534e81a2
child 1
e4381b6a52ce

Initial commit

Dockerfile file | annotate | diff | comparison | revisions
entrypoint.sh file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Dockerfile	Wed May 03 12:06:37 2017 +0100
@@ -0,0 +1,31 @@
+FROM debian:jessie
+
+RUN apt-get update \
+    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
+        build-essential \
+        git \
+        libssl-dev \
+        libxml2-dev \
+        libxslt1-dev \
+        python3 \
+        python3-dev \
+        python3-openssl \
+        python3-pip \
+    && rm -rf /var/lib/apt/lists/*
+
+RUN pip3 install --upgrade setuptools && pip3 install --upgrade pip
+
+RUN pip3 install nose coveralls
+
+ADD entrypoint.sh /entrypoint.sh
+
+RUN chmod a=rx /entrypoint.sh
+
+ENTRYPOINT /entrypoint.sh
+
+ADD https://github.com/horazont/aioxmpp/archive/devel.tar.gz
+
+WORKDIR aioxmpp-devel
+
+RUN pip3 install .
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/entrypoint.sh	Wed May 03 12:06:37 2017 +0100
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+mkdir .local
+cat <<EOF > .local/e2etest.ini
+[global]
+provisioner=aioxmpp.e2etest.provision.AnonymousProvisioner
+
+[aioxmpp.e2etest.provision.AnonymousProvisioner]
+no_verify=true
+domain=anon.localhost
+host=$SERVER_HOST
+port=$SERVER_PORT
+EOF
+
+exec /usr/bin/python3 -m aioxmpp.e2etest tests

mercurial