Skip to content

Commit 8368e8e

Browse files
committed
Support Cardano node version argument in Dockerfile
1 parent 4af51b3 commit 8368e8e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mithril-aggregator/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ RUN /app/target/release/mithril-aggregator --version
3232
FROM debian:11-slim
3333

3434
# Args
35-
ARG CARDANO_BIN_URL=https://github.com/input-output-hk/cardano-node/releases/download/8.7.3/cardano-node-8.7.3-linux.tar.gz
35+
ARG CARDANO_NODE_VERSION=8.7.3
36+
ARG CARDANO_BIN_URL=https://github.com/input-output-hk/cardano-node/releases/download/$CARDANO_NODE_VERSION/cardano-node-$CARDANO_NODE_VERSION-linux.tar.gz
3637

3738
# Upgrade
3839
RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*

mithril-signer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ RUN /app/target/release/mithril-signer --version
3333
FROM debian:11-slim
3434

3535
# Args
36-
ARG CARDANO_BIN_URL=https://github.com/input-output-hk/cardano-node/releases/download/8.7.3/cardano-node-8.7.3-linux.tar.gz
36+
ARG CARDANO_NODE_VERSION=8.7.3
37+
ARG CARDANO_BIN_URL=https://github.com/input-output-hk/cardano-node/releases/download/$CARDANO_NODE_VERSION/cardano-node-$CARDANO_NODE_VERSION-linux.tar.gz
3738

3839
# Upgrade
3940
RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)