-
Notifications
You must be signed in to change notification settings - Fork 369
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
fix: fix docker build #4461
fix: fix docker build #4461
Conversation
when NODE_ENV is production, yarn will not install dev dependencies. We need those to build extensions.
@cdonke Can you take a look at this PR and let me know if there are any optimizations that can be made? |
@a-b-r-o-w-n Sure! right now! |
@cdonke thanks for the review. The dependency that is complaining about the .git directory is when developing locally. It runs As for the |
@a-b-r-o-w-n Makes sense... So I don't see any more changes... besides removing a redundant WORKDIR at line 35... but that is not affecting anything... |
* always compile extensions if git not present * compile extension if main module is missing * do not print git errors * fix docker builds * re-enable docker on CI * load image into docker after building * report on errors and fail script * remove buildx * force extensions to install all dependencies when NODE_ENV is production, yarn will not install dev dependencies. We need those to build extensions. * revert not using buildx * start up docker in background * update code scan action to run on push to main
Description
Updates docker build after moving extensions directory outside
./Composer
. Also enables docker builds in CI again.Task Item
fixes #4435