Run laconic registry cli in cluster #207

Merged
telackey merged 3 commits from dboreham/run-cli-in-cluster into main 2023-03-07 17:10:26 +00:00
3 changed files with 7 additions and 1 deletions
Showing only changes of commit 277be07dcd - Show all commits

View File

@ -51,6 +51,10 @@ RUN npm config set @lirewine:registry ${CERC_NPM_URL} \
# Globally install the cli package
RUN yarn global add @cerc-io/laconic-registry-cli
# Add scripts
RUN mkdir /scripts
ENV PATH="${PATH}:/scripts"
COPY ./import.key.sh /scripts
# Default command sleeps forever so docker doesn't kill it
CMD ["sh", "-c", "while :; do sleep 600; done"]

View File

@ -0,0 +1,2 @@
#!/bin/sh
echo y | docker compose exec laconicd laconicd keys export mykey --unarmored-hex --unsafe