New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build dependencies during building Docker image #707
Conversation
I'm sorry this PR is broken... I'll fix it. |
Fixed. Please review. |
Thanks! I wanted to avoid having to install Node.JS on the server, but I guess it's not a big deal and it will simplify the usage of the docker image. Why did you need to run supervisord as root? |
I agree avoiding to make node.js installed is better. I uninstalled node.js and tried to reduce image size with these commits 15f9a06 and ec41077
When running supervisord as redash user, the following error occurs.
If I should rebase commits into one commit, please tell me that. |
340fa74
to
b070ee7
Compare
b070ee7
to
ec41077
Compare
Build dependencies during building Docker image
Merged. Thanks 👍 |
Currently,
make deps
is required beforedocker build
and node and npm must be installed in build server formake deps
. After merging this PR,make deps
will run in a Docker container during building an image.In addition, bower and grunt-cli are development dependencies and they should not be installed system-globally, so I added them into devDependencies and run them via
npm run
.