This is an automated email from the ASF dual-hosted git repository.

young pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new ba4bb2b49 fix(docker): install libyaml in arm64 (#12329)
ba4bb2b49 is described below

commit ba4bb2b4907686dd1a9d229fabbb5bdb82115432
Author: YYYoung <isk...@outlook.com>
AuthorDate: Mon Jun 16 10:42:49 2025 +0800

    fix(docker): install libyaml in arm64 (#12329)
---
 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 c00041fab..e67ceaf7e 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 \

Reply via email to