Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing controller image build #131

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ keys
trivy-reports
test/etc_indy/node*
.vscode
.idea
47 changes: 46 additions & 1 deletion controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,52 @@ RUN apt-get update -y && apt-get install -y \
RUN pip3 install -U \
'pip<10.0.0' \
'setuptools<58.0'
RUN pip3 install python3-indy indy-node==1.12.6



# 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 && \
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.6 \
# node depends on plenum
indy-plenum=1.12.6 \
#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=9.0.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=9.0.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 \
#
&& apt-get autoremove -y


# https://podman.io/getting-started/installation#installing-on-linux
Expand Down
Loading