Skip to content

Commit

Permalink
Merge pull request bitcoin-dev-project#274 from bitcoin-dev-project/i…
Browse files Browse the repository at this point in the history
…mages_sigterm
  • Loading branch information
willcl-ark authored Feb 14, 2024
2 parents dd1b0c0 + 3a302a1 commit d803976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ p:

registry := 'bitcoindevproject/bitcoin'
repo := 'bitcoin/bitcoin'
arches := 'amd64'
arches := 'amd64,arm64'
build-args := "--disable-tests --without-gui --disable-bench --disable-fuzz-binary --enable-suppress-external-warnings"
load := "load"

# Build docker image and optionally push to registry
build branch tag registry=registry repo=repo build-args=build-args action=load:
warcli image build --registry={{registry}} --repo={{repo}} --branch={{branch}} --arches={{arches}} --tag={{tag}} --build-args="{{build-args}}" --action={{action}}
warcli image build --registry={{registry}} --repo={{repo}} --branch={{branch}} --arches="{{arches}}" --tag={{tag}} --build-args="{{build-args}}" --action={{action}}

installlogging:
./src/templates/k8s/install_logging.sh
Expand Down
5 changes: 0 additions & 5 deletions src/templates/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,5 @@ if [ -n "$BITCOIN_ARGS" ]; then
set -- "$@" "${ARG_ARRAY[@]}"
fi

if [ "$1" = "bitcoind" ] || [ "$1" = "bitcoin-cli" ]; then
echo
"$@"
fi

echo
exec "$@"

0 comments on commit d803976

Please sign in to comment.