diff --git a/debian-dev/Dockerfile b/debian-dev/Dockerfile index a5c810cc..f352e152 100644 --- a/debian-dev/Dockerfile +++ b/debian-dev/Dockerfile @@ -34,8 +34,9 @@ RUN set -x \ sudo \ unzip \ wget \ + libyaml-dev \ && curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | bash - \ - && luarocks install https://raw.githubusercontent.com/apache/apisix/master/apisix-master-0.rockspec --tree=/usr/local/apisix/deps PCRE_DIR=/usr/local/openresty/pcre \ + && luarocks install https://raw.githubusercontent.com/apache/apisix/master/apisix-master-0.rockspec --tree=/usr/local/apisix/deps PCRE_DIR=/usr/local/openresty/pcre YAML_DIR=/usr \ && cp -v /usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/master-0/bin/apisix /usr/bin/ \ && mv /usr/local/apisix/deps/share/lua/5.1/apisix /usr/local/apisix \ # forward request and error logs to docker log collector @@ -51,6 +52,7 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt-get -y update --fix-missing \ && apt-get install -y \ libldap2-dev \ + libyaml-dev \ && apt-get remove --purge --auto-remove -y WORKDIR /usr/local/apisix