-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.bullseye
78 lines (67 loc) · 2.41 KB
/
Dockerfile.bullseye
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# This container is to run indy-node.
# This file is part of https://github.com/hyperledger/indy-node-container .
# Copyright 2021-2022 by all people listed in https://github.com/hyperledger/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger/indy-node-container/blob/main/LICENSE for the license information.
#
# version: 1.2+2022-02-24
FROM python:3.6-slim-bullseye as base
# Install environment
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
apt-transport-https \
ca-certificates \
software-properties-common \
iproute2 \
gnupg2 \
&& apt-get autoremove -y
# get node 1.12.4 dependencies from Ubtuntu 16 + sovrin repos
RUN \
add-apt-repository "deb http://archive.ubuntu.com/ubuntu xenial universe" && \
add-apt-repository "deb http://archive.ubuntu.com/ubuntu xenial main" && \
add-apt-repository "deb http://archive.ubuntu.com/ubuntu xenial-security main" && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CE7709D068DB5E88 40976EAF437D05B5 3B4FE6ACC0B21F32 && \
add-apt-repository "deb https://repo.sovrin.org/deb xenial stable"
RUN apt-get update -y && \
apt-get install -y --allow-downgrades \
# libssl1.0.0 \
# libsodium18 \
# libindy-crypto=0.4.5 \
# python3-indy-crypto=0.4.5 \
indy-node=1.12.4 \
# node depends on plenum
indy-plenum=1.12.4 \
#plenum dependencies
python3-ujson=1.33-1build1 \
python3-prompt-toolkit=0.57-1 \
python3-pygments=2.2.0 \
python3-rlp=0.5.1 \
python3-sha3=0.2.1 \
python3-leveldb=0~svn68-2build4 \
python3-sortedcontainers=1.5.7 \
python3-pip=8.1.1-2 \
python3-portalocker=0.5.7 \
python3-libnacl=1.6.1 \
python3-six=1.11.0 \
python3-intervaltree=2.1.0 \
python3-msgpack=0.4.6-1build1 \
python3-rocksdb=0.6.9 \
python3-dateutil=2.6.1 \
# meta dependencies of those python packages
python3-setuptools=38.5.2 \
python-pip-whl=8.1.1-2 \
# plenum in particular depends on python 3.5
python3=3.5.1-3 \
python3-minimal=3.5.1-3 \
libpython3-stdlib=3.5.1-3 \
dh-python=2.20151103ubuntu1.2 \
python3-distro=1.3.0 \
python3-base58=1.0.0 \
python3-psutil=5.4.3 \
python3-packaging=19.0 \
python3-jsonpickle=0.9.6 \
python3-semver=2.7.9 \
python3-pympler=0.5 \
#
&& apt-get autoremove -y
WORKDIR /home/indy
COPY init_and_run.sh ./
CMD ["./init_and_run.sh"]