From bd4ef7d3c32cbe8ac80adebe6552554e5d9366a6 Mon Sep 17 00:00:00 2001 From: SkeyYoung Date: Fri, 13 Jun 2025 09:10:46 +0000 Subject: [PATCH] fix(docker): install libyaml in arm64 --- docker/debian-dev/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/debian-dev/Dockerfile b/docker/debian-dev/Dockerfile index c00041fabf20..e67ceaf7ec43 100644 --- a/docker/debian-dev/Dockerfile +++ b/docker/debian-dev/Dockerfile @@ -45,10 +45,14 @@ ARG ENTRYPOINT_PATH=./docker-entrypoint.sh ARG INSTALL_BROTLI=./install-brotli.sh ARG CHECK_STANDALONE_CONFIG=./check_standalone_config.sh +# Install the runtime libyaml package +RUN apt-get -y update --fix-missing \ + && apt-get install -y libldap2-dev libyaml-0-2 \ + && apt-get remove --purge --auto-remove -y + COPY --from=build /usr/local/apisix /usr/local/apisix COPY --from=build /usr/local/openresty /usr/local/openresty COPY --from=build /usr/bin/apisix /usr/bin/apisix -COPY --from=build /usr/lib/x86_64-linux-gnu/libyaml* /usr/local/lib/ COPY ${INSTALL_BROTLI} /install-brotli.sh RUN chmod +x /install-brotli.sh \