This is an automated email from the ASF dual-hosted git repository.
ashishtiwari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git
The following commit(s) were added to refs/heads/master by this push:
new de2ab23 fix: failing build due to missing runtime dependency (#582)
de2ab23 is described below
commit de2ab234461c48d1ba64c835e533103092573b1c
Author: Ashish Tiwari <[email protected]>
AuthorDate: Mon Feb 24 15:28:12 2025 +0530
fix: failing build due to missing runtime dependency (#582)
---
debian-dev/Dockerfile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian-dev/Dockerfile b/debian-dev/Dockerfile
index 4a7e0d7..437eae4 100644
--- a/debian-dev/Dockerfile
+++ b/debian-dev/Dockerfile
@@ -45,6 +45,11 @@ RUN set -x \
FROM api7/apisix-runtime:dev AS production-stage
+# 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/bin/apisix /usr/bin/apisix