-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from udosson/ubuntu-2004
added ubuntu 20.04 test image for indy node
- Loading branch information
Showing
5 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ keys | |
.node.env | ||
.history | ||
trivy-reports | ||
test/etc_indy/node* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# This container is to run indy-node. | ||
# It has been created in the indy-node docker working group of the ID Union project. | ||
# author: Robin Klemens <klemens@intnernet-sicherheit.de> | ||
|
||
FROM ubuntu:20.04 | ||
|
||
RUN apt-get update -y && apt-get install -y \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
gnupg2 \ | ||
## ToDo remove unused packages | ||
libgflags-dev \ | ||
libsnappy-dev \ | ||
zlib1g-dev \ | ||
libbz2-dev \ | ||
liblz4-dev \ | ||
libgflags-dev \ | ||
python3-pip | ||
|
||
# Bionic-security for libssl1.0.0 | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3B4FE6ACC0B21F32 \ | ||
&& echo "deb http://security.ubuntu.com/ubuntu bionic-security main" >> /etc/apt/sources.list | ||
|
||
# Sovrin | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CE7709D068DB5E88 \ | ||
&& bash -c 'echo "deb https://repo.sovrin.org/deb bionic master" >> /etc/apt/sources.list' | ||
|
||
# Hyperledger Artifactory | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9692C00E657DDE61 \ | ||
&& echo "deb https://hyperledger.jfrog.io/artifactory/indy focal dev" >> /etc/apt/sources.list \ | ||
# Prioritize packages from hyperledger.jfrog.io | ||
&& printf '%s\n%s\n%s\n' 'Package: *' 'Pin: origin hyperledger.jfrog.io' 'Pin-Priority: 1001' >> /etc/apt/preferences | ||
|
||
RUN apt-get update -y && apt-get install -y \ | ||
indy-node="1.13.0~dev206" \ | ||
indy-plenum="1.13.0~dev175" \ | ||
ursa="0.3.2-1" \ | ||
python3-pyzmq="18.1.0" \ | ||
rocksdb=5.8.8 \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
# fix path to libursa | ||
&& ln -s /usr/lib/ursa/libursa.so /usr/lib/libursa.so | ||
|
||
RUN pip3 install -U \ | ||
# Required by setup.py | ||
setuptools==50.3.2 \ | ||
'pip<10.0.0' | ||
|
||
|
||
WORKDIR /home/indy | ||
|
||
COPY init_and_run.sh ./ | ||
|
||
CMD ["./init_and_run.sh"] |