-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/module-dependencies
- Loading branch information
Showing
4 changed files
with
47 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# arm + amd compatible Dockerfile | ||
FROM ghcr.io/findy-network/findy-base:indy-1.16.ubuntu-18.04 AS indy-base | ||
|
||
FROM ubuntu:18.04 | ||
|
||
# install indy deps and files from base | ||
RUN apt-get update && apt-get install -y libsodium23 libssl1.1 libzmq5 git zsh | ||
|
||
COPY --from=indy-base /usr/include/indy /usr/include/indy | ||
COPY --from=indy-base /usr/lib/libindy.a /usr/lib/libindy.a | ||
COPY --from=indy-base /usr/lib/libindy.so /usr/lib/libindy.so | ||
|
||
RUN apt-get install -y curl python3 build-essential ca-certificates && \ | ||
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash && \ | ||
export NVM_DIR="$HOME/.nvm" && \ | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ | ||
nvm install v16 && \ | ||
npm install yarn -g |
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,7 @@ | ||
# | ||
# Any environment variables that the container needs | ||
# go in here. | ||
# | ||
# Example(s) | ||
# GENESIS_TXN_PATH=/work/network/genesis/local-genesis.txn | ||
# |
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,8 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"runArgs": ["--env-file", ".devcontainer/devcontainer.env"], | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/work,type=bind", | ||
"workspaceFolder": "/work" | ||
} |
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