Skip to content

Commit

Permalink
update debian-dev remote
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinsRan committed Apr 29, 2024
1 parent 4b4cccf commit 758846e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion debian-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 758846e

Please sign in to comment.