Unfortunately not:
I added the click part within Dockerfile:
```RUN pip install --upgrade setuptools pip
RUN pip install -e . && pip install -r requirements-dev.txt
#add this too
RUN pip install click==6.7
ENV PATH=/home/work/incubator-superset/superset/bin:$PATH \
PYTHONPATH=./superset/:$PYTHONPATH
```
and re-ran the following commands:
```
bash -x docker-build.sh
docker-compose up -d
docker-compose exec superset bash
bash docker-init.sh
```
The results were (just the relevant parts):
```
clean-webpack-plugin: /home/work/incubator-superset/superset/assets/dist has
been removed.
95% emitting OptimizeCssAssetsWebpackPluginError: EACCES: permission denied,
mkdir '/home/work/incubator-superset/superset/assets/dist'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `NODE_ENV=production webpack
--mode=production --colors --progress`
npm ERR! Exit status 1
```
and
```
[2018-09-29 19:38:28,242: ERROR/MainProcess] consumer: Cannot connect to
amqp://guest:**@127.0.0.1:5672//: [Errno 111] Connection refused.
Trying again in 2.00 seconds...
```
Login is still not possible
**edit:**
I had a deeper look into Dockerfile. One line is: _chown -R work:work $HOME_ ,
but the user and group of assets (as an example) is not as expected. Therefore,
user _work_ cannot create the sub-directory _dist_ .
```
work@8775c6225c26:~/incubator-superset/superset/assets$ ls -la
total 652
drwxr-xr-x 10 2024 5074 4096 Sep 27 06:55 .
drwxr-xr-x 13 2024 5074 4096 Sep 27 06:31 ..
-rw-r--r-- 1 2024 5074 121 Sep 27 06:31 .babelrc
-rw-r--r-- 1 2024 5074 140 Sep 27 06:31 .eslintignore
-rw-r--r-- 1 2024 5074 1187 Sep 27 06:31 .eslintrc
-rw-r--r-- 1 2024 5074 1365 Sep 27 06:31 .istanbul.yml
-rw-r--r-- 1 2024 5074 63166 Sep 27 06:31 backendSync.json
drwxr-xr-x 2 2024 5074 4096 Sep 27 06:31 branding
drwxr-xr-x 5 2024 5074 4096 Sep 27 06:31 cypress
-rw-r--r-- 1 2024 5074 134 Sep 27 06:31 cypress.json
-rwxr-xr-x 1 2024 5074 341 Sep 27 06:31 cypress_build.sh
lrwxrwxrwx 1 2024 5074 23 Sep 27 06:31 docs -> ../../docs/_build/html/
drwxr-xr-x 6 2024 5074 4096 Sep 27 06:31 images
-rwxr-xr-x 1 2024 5074 148 Sep 27 06:31 js_build.sh
drwxr-xr-x 1532 work work 57344 Sep 27 06:55 node_modules
-rw-r--r-- 1 2024 5074 6397 Sep 27 06:31 package.json
drwxr-xr-x 5 2024 5074 4096 Sep 27 06:31 spec
drwxr-xr-x 16 2024 5074 4096 Sep 27 06:31 src
drwxr-xr-x 5 2024 5074 4096 Sep 27 06:31 stylesheets
drwxr-xr-x 4 2024 5074 4096 Sep 27 06:31 vendor
-rw-r--r-- 1 2024 5074 4896 Sep 27 06:31 webpack.config.js
-rw-r--r-- 1 2024 5074 457113 Sep 27 06:31 yarn.lock
```
[ Full content available at:
https://github.com/apache/incubator-superset/issues/5987 ]
This message was relayed via gitbox.apache.org for [email protected]