Moving bitcoin container build script into place as template

This commit is contained in:
b0xxer
2024-02-10 11:13:52 -06:00
parent fc4522094b
commit ab1b4fabc9
4 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ cat <<EOF > $HOME/.bitcoin/bitcoin.conf
#You can either (a) Modify this template "btc_init" in build or
# (b) You can pass a variable name as env variable during container launch
# The variable names are printed to right of each item
#
#
# network
mainnet=${MAINNET:-1} # MAINNET
+1
View File
@@ -9,3 +9,4 @@
force_rm: true
format: oci
extra_args: VERSION={{ bitcoin_version }}
debugger: always
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
#Build command to make container
VER=26.0
buildah build -t bitcoin:$VER --build-arg VERSION=$VER -f Containerfile