Skip to content
Open
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
27 changes: 13 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# LibSovToken

Adds Sovrin's token functionality to HyperLedger's Indy-SDK.
Adds Sovrin's token functionality to HyperLedger's Indy-SDK.


<a id="requirements"></a>
Expand All @@ -45,25 +45,25 @@ Adds Sovrin's token functionality to HyperLedger's Indy-SDK.

git clone https://github.com/hyperledger/indy-sdk.git
cd indy-sdk
git checkout stable
git checkout stable
cd libindy
cargo clean
cargo clean
cargo update
cargo build

Libsovtoken build needs to know how to find Indy-SDK. This is done
through the environment variable LIBINDY_DIR.

Create an environment variable LIBINDY_DIR. Have it point the directory
containing indy-sdk binaries.

Use `pwd` to get path to current directory

Add this to your bash profile:
# EXAMPLE

# EXAMPLE
export LIBINDY_DIR='/my/path/to/indy-sdk/libindy/target/debug/'

*Note* anytime you get latest for indy-sdk, you must rebuild the
libraries before building libsovtoken, as the libsovtoken build does not
compile indy-sdk.
Expand All @@ -78,12 +78,12 @@ Adds Sovrin's token functionality to HyperLedger's Indy-SDK.

### Build the pool

cd devops/indy-pool/ && docker build -t indy_pool .
cd devops/indy-pool/ && docker build -t indy_pool .


<a id="run-the-poool"></a>
<a id="run-the-pool"></a>

### run the poool
### run the pool

docker run -itd -p 9701-9708:9701-9708 indy_pool

Expand All @@ -110,4 +110,3 @@ Adds Sovrin's token functionality to HyperLedger's Indy-SDK.
## How To Contribute

Please follow the guide [here](./doc/pull-request.md).

6 changes: 3 additions & 3 deletions devops/docker/base/xenial/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM evernym/dockerbase:rust-xenial-0.8.0
FROM evernym/dockerbase:rust-xenial-0.9.0
# TODO LABEL maintainer="Name <email-address>"

ARG u_id=1000
Expand All @@ -13,7 +13,7 @@ ENV LIBSODIUM_INC_DIR=/usr/include
# install libsodium from the sources
ENV LIBSODIUM_VERSION=1.0.14
RUN cd /tmp \
&& curl https://download.libsodium.org/libsodium/releases/libsodium-${LIBSODIUM_VERSION}.tar.gz | tar -xz \
&& curl https://download.libsodium.org/libsodium/releases/old/libsodium-${LIBSODIUM_VERSION}.tar.gz | tar -xz \
&& cd /tmp/libsodium-${LIBSODIUM_VERSION} \
&& ./configure --prefix=/usr/local/ && make && make install \
&& ldconfig \
Expand Down Expand Up @@ -47,4 +47,4 @@ RUN cd /tmp/libsovtoken \
# TODO CMD ENTRYPOINT ...


ENV LIBSOVTOKEN_BASE_ENV_VERSION=0.12.0
ENV LIBSOVTOKEN_BASE_ENV_VERSION=0.14.0
4 changes: 2 additions & 2 deletions devops/docker/ci/xenial/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM evernym/libsovtoken:base-xenial-0.12.0
FROM evernym/libsovtoken:base-xenial-0.14.0
# TODO LABEL maintainer="Name <email-address>"

ARG LIBINDY_CRYPTO_VERSION
Expand Down Expand Up @@ -69,4 +69,4 @@ COPY libsovtoken-ci-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/libsovtoken-ci-entrypoint.sh
ENTRYPOINT ["libsovtoken-ci-entrypoint.sh"]

ENV LIBSOVTOKEN_CI_ENV_VERSION=0.49.0
ENV LIBSOVTOKEN_CI_ENV_VERSION=0.50.0
2 changes: 1 addition & 1 deletion devops/ext/docker/rust/xenial/Dockerfile.0.8.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM evernym/dockerbase:base-xenial-0.5.0

ARG RUST_VERSION

ENV RUST_VERSION=${RUST_VERSION:-1.27.0}
ENV RUST_VERSION=${RUST_VERSION:-1.31.0}
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
Expand Down
18 changes: 18 additions & 0 deletions devops/ext/docker/rust/xenial/Dockerfile.0.9.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM evernym/dockerbase:base-xenial-0.5.0
# TODO LABEL maintainer="Name <email-address>"

ARG RUST_VERSION

ENV RUST_VERSION=${RUST_VERSION:-1.31.0}
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain $RUST_VERSION \
&& chmod -R a+w $RUSTUP_HOME $CARGO_HOME \
&& rustup --version \
&& cargo --version \
&& rustc --version

# TODO CMD ENTRYPOINT ...

ENV RUST_ENV_VERSION=0.9.0
2 changes: 1 addition & 1 deletion libsovtoken/dev/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get -qq update -y && apt-get -qq install -y sudo zip unzip cmake autocon
&& useradd -m -d /home/token_user -s /bin/bash -p $(openssl passwd -1 "token") token_user \
&& usermod -aG sudo token_user \
&& cd /tmp \
&& curl https://download.libsodium.org/libsodium/releases/libsodium-1.0.14.tar.gz | tar -xz \
&& curl https://download.libsodium.org/libsodium/releases/old/libsodium-1.0.14.tar.gz | tar -xz \
&& cd libsodium-1.0.14 \
&& ./autogen.sh \
&& ./configure \
Expand Down