You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by so...@apache.org on 2023/01/29 08:44:15 UTC
[apisix-docker] branch master updated: chore: change the user for all-in-one
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 d5f4a6b chore: change the user for all-in-one
d5f4a6b is described below
commit d5f4a6b2fa665da9fd7d52a4b87cce92451b551e
Author: chengxiaolan <30...@users.noreply.github.com>
AuthorDate: Sun Jan 29 16:44:09 2023 +0800
chore: change the user for all-in-one
---
all-in-one/apisix/Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/all-in-one/apisix/Dockerfile b/all-in-one/apisix/Dockerfile
index ef44d50..db0e2be 100644
--- a/all-in-one/apisix/Dockerfile
+++ b/all-in-one/apisix/Dockerfile
@@ -27,6 +27,8 @@ LABEL etcd_version="${ETCD_VERSION}"
WORKDIR /tmp
+USER root
+
RUN wget https://github.com/etcd-io/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz \
&& tar -zxvf etcd-${ETCD_VERSION}-linux-amd64.tar.gz \
&& mv etcd-${ETCD_VERSION}-linux-amd64/* /usr/bin/