Skip to content

Commit ba4bb2b

Browse files
authored
fix(docker): install libyaml in arm64 (#12329)
1 parent 3137d57 commit ba4bb2b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docker/debian-dev/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@ ARG ENTRYPOINT_PATH=./docker-entrypoint.sh
4545
ARG INSTALL_BROTLI=./install-brotli.sh
4646
ARG CHECK_STANDALONE_CONFIG=./check_standalone_config.sh
4747

48+
# Install the runtime libyaml package
49+
RUN apt-get -y update --fix-missing \
50+
&& apt-get install -y libldap2-dev libyaml-0-2 \
51+
&& apt-get remove --purge --auto-remove -y
52+
4853
COPY --from=build /usr/local/apisix /usr/local/apisix
4954
COPY --from=build /usr/local/openresty /usr/local/openresty
5055
COPY --from=build /usr/bin/apisix /usr/bin/apisix
51-
COPY --from=build /usr/lib/x86_64-linux-gnu/libyaml* /usr/local/lib/
5256

5357
COPY ${INSTALL_BROTLI} /install-brotli.sh
5458
RUN chmod +x /install-brotli.sh \

0 commit comments

Comments
 (0)