You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2021/05/29 11:36:29 UTC
[superset] branch master updated: fix: permission denied when
starting docker with uid 1000 (#14903)
This is an automated email from the ASF dual-hosted git repository.
dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 51935dd fix: permission denied when starting docker with uid 1000 (#14903)
51935dd is described below
commit 51935dd5abe06d2d47ff43c606712428a2e3fdea
Author: Ke Zhu <sh...@users.noreply.github.com>
AuthorDate: Sat May 29 07:35:11 2021 -0400
fix: permission denied when starting docker with uid 1000 (#14903)
---
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 53a2c8f..6ca89e8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -84,8 +84,8 @@ ENV LANG=C.UTF-8 \
SUPERSET_HOME="/app/superset_home" \
SUPERSET_PORT=8088
-RUN useradd --user-group -d ${SUPERSET_HOME} --no-log-init --shell /bin/bash superset \
- && mkdir -p ${PYTHONPATH} \
+RUN mkdir -p ${PYTHONPATH} \
+ && useradd --user-group -d ${SUPERSET_HOME} -m --no-log-init --shell /bin/bash superset \
&& apt-get update -y \
&& apt-get install -y --no-install-recommends \
build-essential \