Fix stuck docker update

This commit is contained in:
nicolas.dorier 2023-12-12 22:01:18 +09:00
parent 62c1092645
commit 0f2316287e
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -39,6 +39,9 @@ if ! [ -f "/etc/docker/daemon.json" ] && [ -w "/etc/docker" ]; then
echo "Setting limited log files in /etc/docker/daemon.json" echo "Setting limited log files in /etc/docker/daemon.json"
fi fi
. helpers.sh
docker_update
if ! ./build.sh; then if ! ./build.sh; then
echo "Failed to generate the docker-compose" echo "Failed to generate the docker-compose"
exit 1 exit 1
@ -67,8 +70,6 @@ if [[ "$ACME_CA_URI" == "https://acme-staging.api.letsencrypt.org/directory" ]];
echo "Info: Rewriting ACME_CA_URI from $original_acme to $ACME_CA_URI" echo "Info: Rewriting ACME_CA_URI from $original_acme to $ACME_CA_URI"
fi fi
. helpers.sh
docker_update
install_tooling install_tooling
if $BTCPAY_ENABLE_SSH && [[ "$BTCPAY_SSHKEYFILE" == "/datadir/host_id_rsa" ]]; then if $BTCPAY_ENABLE_SSH && [[ "$BTCPAY_SSHKEYFILE" == "/datadir/host_id_rsa" ]]; then