forked from kdenhartog/indy-dev
-
Notifications
You must be signed in to change notification settings - Fork 3
/
indy-dev.dockerfile
34 lines (26 loc) · 801 Bytes
/
indy-dev.dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ubuntu:16.04
RUN useradd -G root -ms /bin/bash indy
# Install environment
RUN apt-get update -y && apt-get install -y \
wget \
python3.5 \
python3-pip \
python-setuptools \
apt-transport-https \
ca-certificates \
software-properties-common
WORKDIR /home/indy
RUN pip3 install -U \
pip \
setuptools \
python3-indy==1.6.2-dev-720 \
asyncio
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88 \
&& add-apt-repository "deb https://repo.sovrin.org/sdk/deb xenial master" \
&& apt-get update \
&& apt-get install -y \
libindy=1.6.2~720
USER indy
# If you're working on your own project in a separate dir structure, change this to set the proper entry point for python.
ENV PYTHONPATH="/home/indy/python"
EXPOSE 8080