-
Notifications
You must be signed in to change notification settings - Fork 152
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
Failure: docker build -t yourname/app . #117
Comments
Same here. We you able to get it fixed or moved to a new image? |
any news here? I have a similar problem ... |
The error in the above image is from node-gyp doing a binary build of one of the app's dependencies. In other words, that's app-specific. To start (at least for the image above), I recommend figuring out what package depends on the However, I suspect the 3 of you are probably having this issue for 3 different reasons (or 3 different packages in this case). But maybe not. ? I'll need more info to help any further. If you can put together a repo that reproduces this problem with the least amount of code possible to cause issue, I'd be happy to take a look. |
@bergjs Oh boy, that's a classic. :) To confirm my assumption, remove Option 1 (probably the ideal) Start building with this (somewhat inconvenient) build flag to adjust the amount of available memory available to the Node process that's being used during the build... docker build \
--build-arg TOOL_NODE_FLAGS="--max-old-space-size=2048" \
-t yourname/app . For a LONG conversation and a bunch of links/background, see this issue conversation from last year... reactioncommerce/reaction#3023 (comment) You may need to adjust that Much has been written about that at this point, but I'm not sure if anyone has actually "fixed" it beyond my suggestions above. Option 2 Remove bcrypt and go on with your day.
It's worth noting that Meteor will function completely fine without For everyone else in this thread, I recommend trying the same thing I mentioned in option 1. It's quite possible that it's the same issue. It seems to be fairly common when the build needs to do compilation of binaries. Let me know how it goes! |
Hey @jshimko, great advice! Thanks so much! It builds indeed without bcrypt. I think I'll just go without it. I wasn't aware anymore that Meteor works without bcrypt. |
This is what I get when I take build the Dockerfile containing:
FROM jshimko/meteor-launchpad:latest
Any ideas?
The text was updated successfully, but these errors were encountered: