Dockerfile

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
permissions
-rw-r--r--

Initial commit

0
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 FROM debian:jessie
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 RUN apt-get update \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 build-essential \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 git \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7 libssl-dev \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 libxml2-dev \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9 libxslt1-dev \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 python3 \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 python3-dev \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 python3-openssl \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13 python3-pip \
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14 && rm -rf /var/lib/apt/lists/*
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
15
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
16 RUN pip3 install --upgrade setuptools && pip3 install --upgrade pip
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
17
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18 RUN pip3 install nose coveralls
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
20 ADD entrypoint.sh /entrypoint.sh
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
21
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
22 RUN chmod a=rx /entrypoint.sh
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
23
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
24 ENTRYPOINT /entrypoint.sh
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
25
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
26 ADD https://github.com/horazont/aioxmpp/archive/devel.tar.gz
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
27
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
28 WORKDIR aioxmpp-devel
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
29
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
30 RUN pip3 install .
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
31

mercurial