-
Notifications
You must be signed in to change notification settings - Fork 29
ubuntu 22 image #153
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
Merged
Merged
ubuntu 22 image #153
Changes from 10 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4b1a3a8
ubuntu 22 docker image builds, but key init does not work
Echsecutor 556b13a
workflow matrix += ubuntu22
Echsecutor 206e395
indy packages meta-depend on libc for ubuntu 20. Downgrading further …
Echsecutor 2460fb1
installing the python pacakges fails since rocksdb wheel build is not…
Echsecutor 61e27bf
another version that installs indy from the deb package and end up wi…
Echsecutor 2bea4bf
Merge remote-tracking branch 'origin/main' into ubuntu22
Echsecutor 30da2f9
Merge remote-tracking branch 'origin/main' into ubuntu22
Echsecutor f94cace
working ubuntu 22 image
Echsecutor 18f7394
minor cleanup
Echsecutor e0a0926
README links corrected, images labelled
Echsecutor 18838c5
Update build/Dockerfile.debian12
Echsecutor aede3f5
Update build/Dockerfile.ubuntu20
Echsecutor 70920fe
Update build/Dockerfile.ubuntu22
Echsecutor d26b893
Update build/Dockerfile.debian11
Echsecutor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,102 @@ | ||
| # This container is to run indy-node. | ||
| # This file is part of https://github.com/hyperledger/indy-node-container . | ||
| # Copyright 2021-2025 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. | ||
|
|
||
|
|
||
| FROM ubuntu:22.04 | ||
|
|
||
| LABEL org.opencontainers.image.description "Ubuntu 22.04 based image to run indy-node. See https://github.com/hyperledger/indy-node-container" | ||
|
Check warning on line 9 in build/Dockerfile.ubuntu22
|
||
Echsecutor marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ARG PRESEED_TIMEZONE_AREA "tzdata tzdata/Areas select Europe" | ||
| ARG PRESEED_TIMEZONE "tzdata tzdata/Zones/Europe select Berlin" | ||
|
|
||
|
|
||
| ENV DEBIAN_FRONTEND=noninteractive | ||
| ENV DEBCONF_NONINTERACTIVE_SEEN=true | ||
| ENV PRESEED_TIMEZONE_AREA=${PRESEED_TIMEZONE_AREA} | ||
| ENV PRESEED_TIMEZONE=${PRESEED_TIMEZONE} | ||
|
|
||
| RUN truncate -s0 /tmp/preseed.cfg; \ | ||
| echo "${PRESEED_TIMEZONE_AREA}" >> /tmp/preseed.cfg; \ | ||
| echo "${PRESEED_TIMEZONE}" >> /tmp/preseed.cfg; \ | ||
| debconf-set-selections /tmp/preseed.cfg \ | ||
| && rm -f /etc/timezone /etc/localtime | ||
|
|
||
| RUN apt-get update \ | ||
| && apt-get upgrade -y \ | ||
| && apt-get install -y \ | ||
| tzdata \ | ||
| apt-transport-https \ | ||
| ca-certificates \ | ||
| gnupg2 \ | ||
| software-properties-common \ | ||
| wget \ | ||
| zip | ||
|
|
||
|
|
||
| # Dependencies for the (meta) dependency debs of indy-node | ||
| RUN apt-get update && \ | ||
| apt-get install -y \ | ||
| python3-wcwidth \ | ||
| python3-setuptools \ | ||
| python3-pytest \ | ||
| python3-pip \ | ||
| libgflags-dev \ | ||
| libsnappy-dev \ | ||
| zlib1g-dev \ | ||
| libbz2-dev \ | ||
| liblz4-dev | ||
|
|
||
|
|
||
| # Bionic-security for libssl1.0.0 (ursa dependency) | ||
| 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 for Ursa (plenum dependency) | ||
| 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' \ | ||
| && apt-get update \ | ||
| && apt-get install -y \ | ||
| ursa \ | ||
| libsodium23 \ | ||
| iptables \ | ||
| at | ||
|
|
||
|
|
||
| # official indy node + plenum release packages from github | ||
| RUN cd /tmp/\ | ||
| && for URL in https://github.com/hyperledger/indy-plenum/releases/download/v1.13.1/third-party-dependencies.zip \ | ||
| https://github.com/hyperledger/indy-plenum/releases/download/v1.13.1/plenum-deb.zip \ | ||
| https://github.com/hyperledger/indy-node/releases/download/v1.13.2/third-party-dependencies.zip \ | ||
| https://github.com/hyperledger/indy-node/releases/download/v1.13.2/indy_node-deb.zip \ | ||
| ; do \ | ||
| echo "downloading $URL" \ | ||
| && wget -nv $URL \ | ||
| && unzip *.zip \ | ||
| && dpkg -i artifacts/*/*.deb \ | ||
| && rm -rf /tmp/* \ | ||
| ; done | ||
|
|
||
|
|
||
| # install and use python 3.8 (plenum does not run on python 3.10) | ||
| RUN pip install six \ | ||
| && add-apt-repository ppa:deadsnakes/ppa \ | ||
| && apt-get install -y python3.8 \ | ||
| && rm /usr/bin/python3 \ | ||
| && ln -s /usr/bin/python3.8 /usr/bin/python3 | ||
|
|
||
| ENV PYTHONPATH="/usr/local/lib/python3.8:/usr/local/lib/python3.8/dist-packages/:/usr/local/lib/python3.8/site-packages/:/usr/local/lib/python3.10/dist-packages/" | ||
|
|
||
| # fix path to libursa | ||
| RUN ln -s /usr/lib/ursa/libursa.so /usr/lib/libursa.so | ||
|
|
||
| WORKDIR /home/indy | ||
|
|
||
| COPY init_and_run.sh ./ | ||
|
|
||
| CMD ["./init_and_run.sh"] | ||
|
|
||
| VOLUME ["/var/log/indy"] | ||
|
|
||
| RUN apt-get clean -y && rm -rf /var/lib/apt/lists/* | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.