Skip to content

Commit

Permalink
fix: disable cardano-node built-in mithril download (#234)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 authored May 24, 2024
1 parent f4ac6db commit 215ed9c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/cardano-node/cardano-node-8.9.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ installSteps:
env:
CARDANO_NODE_SOCKET_PATH: /ipc/node.socket
NETWORK: '{{ .Context.Network }}'
RESTORE_NETWORK: 'false'
binds:
- '{{ .Paths.ContextDir }}/config:/opt/cardano/config'
- '{{ .Paths.ContextDir }}/node-ipc:/ipc'
Expand All @@ -33,7 +34,10 @@ outputs:
- name: socket_path
description: Path to the Cardano Node UNIX socket
value: '{{ .Paths.ContextDir }}/node-ipc/node.socket'
preInstallScript: 'test -e {{ .Paths.DataDir }}/data/db/protocolMagicId && exit 0 || mithril-client cardano-db download --download-dir {{ .Paths.DataDir }}/data latest'
preInstallScript: |
set -e
test -e {{ .Paths.DataDir }}/data/db/protocolMagicId && exit 0
mithril-client cardano-db download --download-dir {{ .Paths.DataDir }}/data latest
tags:
- docker
- linux
Expand Down

0 comments on commit 215ed9c

Please sign in to comment.