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

soulbird 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 994ccc7  fix: etcdctl missing due to PATH var is not set correctly 
(#402)
994ccc7 is described below

commit 994ccc7874d72ae4fe2303ed631d7c6fbbcda578
Author: fengxsong <[email protected]>
AuthorDate: Mon Jan 9 10:38:06 2023 +0800

    fix: etcdctl missing due to PATH var is not set correctly (#402)
    
    Signed-off-by: fengxsong <[email protected]>
    
    Signed-off-by: fengxsong <[email protected]>
---
 centos/Dockerfile | 2 ++
 debian/Dockerfile | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/centos/Dockerfile b/centos/Dockerfile
index 7cf4bb9..bafcf07 100644
--- a/centos/Dockerfile
+++ b/centos/Dockerfile
@@ -27,6 +27,8 @@ RUN yum install -y 
https://repos.apiseven.com/packages/centos/apache-apisix-repo
 
 WORKDIR /usr/local/apisix
 
+ENV 
PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
+
 # forward request and error logs to docker log collector
 RUN ln -sf /dev/stdout /usr/local/apisix/logs/access.log \
     && ln -sf /dev/stderr /usr/local/apisix/logs/error.log
diff --git a/debian/Dockerfile b/debian/Dockerfile
index 95b0849..4d4cceb 100644
--- a/debian/Dockerfile
+++ b/debian/Dockerfile
@@ -46,6 +46,8 @@ RUN set -ex; \
 
 WORKDIR /usr/local/apisix
 
+ENV 
PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
+
 RUN useradd -u 1001 apisix && chown -R apisix:apisix /usr/local/apisix
 
 USER apisix

Reply via email to