You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/04/14 13:51:38 UTC

[GitHub] [incubator-superset] vdmitriyev edited a comment on issue #8632: docker-compose failed to build

vdmitriyev edited a comment on issue #8632: docker-compose  failed to build
URL: https://github.com/apache/incubator-superset/issues/8632#issuecomment-613455330
 
 
   1. Setup/Environment: 
   	- Windows 10 + Docker Desktop + ~ 6 GB of RAM given to Docker (can be configured in settings of the docker)
   2. Problem: 
   	- The script that is used to check whether there is enough RAM memory provided to the docker is called ```frontend-mem-nag.sh```. It is initially git-cloned to WINDOWS system and by default gets file-endings for WINDOWS system and then the script runs on LINUX system and fails. 
   3. Workaround solution for Windows host:
   	- Find the following line in the file "Dockerfile"
   	``` COPY ./superset-frontend/package* /app/superset-frontend/```
   	* Insert following commands after the line:
     	```bash
   	RUN apt-get update -y 
   	RUN apt-get install -y apt-file
   	RUN apt-file update -y 
   	RUN apt-get install -y dos2unix
   	RUN dos2unix /frontend-mem-nag.sh
   	```
   P.S. @tlightsky I hope it will help you.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org