-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (25 loc) · 1.01 KB
/
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
# this docker file is assembled from the files in https://github.com/hyperledger/indy-node/tree/master/environment/docker/pool
FROM ubuntu:16.04
# Install environment
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
git \
wget \
python3.5 \
python3-pip \
python-setuptools \
python3-nacl \
apt-transport-https \
ca-certificates \
&& apt-get autoremove -y
RUN pip3 install -U \
'pip<10.0.0' \
setuptools
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88 \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BD33704C\
&& echo "deb https://repo.sovrin.org/deb xenial stable" >> /etc/apt/sources.list \
&& echo "deb https://repo.sovrin.org/sdk/deb xenial stable" >> /etc/apt/sources.list
RUN apt-get update -y && apt-get install -y indy-node=1.12.4 indy-plenum=1.12.4 python3-indy-crypto=0.4.5 libindy-crypto=0.4.5
RUN pip3 install python3-indy
WORKDIR /home/indy
COPY init_and_run.sh ./
CMD ["./init_and_run.sh"]