You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tools): add standalone shell CLI tool to corda AIO image
The corda AIO docker image now downloads
the CLI tools jar for the standalone shell at
build time.
By default it downloads the 4.5 version of the
jar but this can be altered to any other version
through a dedicated build argument of the
container image definition.
The image built from this commit is also tagged
(on top of the automatic tagging script) as
hyperledger/cactus-corda-4-6-all-in-one-obligation:2021-03-14-standalone-corda-shell
See more details here for what a standalone
shell is and how it can be used to execute
commands (some which are not available on
the RPC proxy so this tool is a must have for
certain operations such as gracefully stopping
nodes)
https://docs.corda.net/docs/corda-os/4.5/shell.html#standalone-shell
Signed-off-by: Peter Somogyvari <[email protected]>
@@ -58,6 +59,10 @@ RUN cp $CACTUS_CFG_PATH/corda-aio-image.pub ~/.ssh/authorized_keys
58
59
# RUN cat /root-password.txt | chpasswd
59
60
RUN echo "root:root" | chpasswd
60
61
62
+
RUN curl https://software.r3.com/artifactory/corda-releases/net/corda/corda-tools-shell-cli/${CORDA_TOOLS_SHELL_CLI_VERSION}/corda-tools-shell-cli-${CORDA_TOOLS_SHELL_CLI_VERSION}-all.jar --output /corda-tools-shell-cli-all.jar
63
+
# This is what makes the "corda-shell" alias avaialble on the terminal
64
+
RUN java -jar /corda-tools-shell-cli-all.jar install-shell-extensions
65
+
61
66
RUN git clone https://github.com/corda/samples-kotlin.git
0 commit comments