forked from abracadaniel/cardano-pool-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
35 lines (27 loc) · 994 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
NODE_VERSION="8.1.2"
LIBSODIUM_VERSION="dbb48cc"
ADDRESSES_VERSION="3.12.0"
BECH_VERSION="1.1.2"
CNCLI_VERSION="5.3.0"
POOL_VERSION="8.1.2"
docker build -f Dockerfile.node \
--build-arg VERSION=${NODE_VERSION} \
--tag arradev/cardano-node:${NODE_VERSION} \
--tag arradev/cardano-node:latest .
docker build -f Dockerfile.addresses \
--build-arg VERSION=${ADDRESSES_VERSION} \
--tag arradev/cardano-addresses:${ADDRESSES_VERSION} \
--tag arradev/cardano-addresses:latest .
docker build -f Dockerfile.bech32 \
--build-arg VERSION=${BECH_VERSION} \
--tag arradev/bech32:${BECH_VERSION} \
--tag arradev/bech32:latest .
docker build -f Dockerfile.cncli \
--build-arg VERSION=${CNCLI_VERSION} \
--tag arradev/cncli:${CNCLI_VERSION} \
--tag arradev/cncli:latest .
docker build -f Dockerfile.pool \
--build-arg NODE_VERSION=${NODE_VERSION} \
--tag arradev/cardano-pool:${POOL_VERSION} \
--tag arradev/cardano-pool:latest .