forked from cerc-io/stack-orchestrator
parent
eb70f2526e
commit
178de8f496
@ -51,6 +51,10 @@ RUN npm config set @lirewine:registry ${CERC_NPM_URL} \
|
|||||||
# Globally install the cli package
|
# Globally install the cli package
|
||||||
RUN yarn global add @cerc-io/laconic-registry-cli
|
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
|
# Default command sleeps forever so docker doesn't kill it
|
||||||
CMD ["sh", "-c", "while :; do sleep 600; done"]
|
CMD ["sh", "-c", "while :; do sleep 600; done"]
|
||||||
|
|
||||||
|
2
app/data/container-build/cerc-laconicd/export-mykey.sh
Normal file
2
app/data/container-build/cerc-laconicd/export-mykey.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
echo y | docker compose exec laconicd laconicd keys export mykey --unarmored-hex --unsafe
|
Loading…
Reference in New Issue
Block a user