diff --git a/Makefile b/Makefile index 4cccf88f..239422b1 100644 --- a/Makefile +++ b/Makefile @@ -148,7 +148,7 @@ push-multiarch-on-latest: @if [ "$(shell echo "$(APISIX_VERSION) $(MAX_APISIX_VERSION)" | tr " " "\n" | sort -rV | head -n 1)" == "$(APISIX_VERSION)" ]; then \ $(ENV_DOCKER) buildx build --network=host --push \ -t $(IMAGE_NAME):latest \ - --platform linux/amd64,linux/arm64 \ + --platform linux/amd64 \ -f ./debian/Dockerfile debian; \ fi @$(call func_echo_success_status, "$@ -> [ Done ]") diff --git a/debian/docker-entrypoint.sh b/debian/docker-entrypoint.sh index 04fe00b5..2d8a11e3 100755 --- a/debian/docker-entrypoint.sh +++ b/debian/docker-entrypoint.sh @@ -54,6 +54,10 @@ _EOC_ if [ -e "/usr/local/apisix/conf/config_listen.sock" ]; then rm -f "/usr/local/apisix/conf/config_listen.sock" fi + + if [ -e "/usr/local/apisix/logs/worker_events.sock" ]; then + rm -f "/usr/local/apisix/logs/worker_events.sock" + fi exec /usr/local/openresty/bin/openresty -p /usr/local/apisix -g 'daemon off;' fi