Comments (8)
@kachizukanne What version of Docker are you running? ARG
wasn't added until somewhere around v1.9.x. That's the exact error I've seen when running Docker 1.8, so I'm assuming that's likely to be your issue.
from meteor-launchpad.
Spot on, upgrading docker to a post 1.8 version fixed this
from meteor-launchpad.
Sounds reasonable. Have you confirmed that adding that fixes the problem for you? I see several people in that issue saying it didn't work for them.
from meteor-launchpad.
# in base.dockerfile
ENV TOOL_NODE_FLAGS=--max-old-space-size=2048
Did work for me - I assume increasing even further or adding garbage collection flags could help others.
from meteor-launchpad.
Ok, v1.2.0
has added the option to use Docker's --build-arg
flag to set that environment variable. You can now set that to anything you want at build time like this:
docker build --build-arg TOOL_NODE_FLAGS="--max-old-space-size=2048" -t myorg/myapp:latest .
Let me know if that does the trick for you.
from meteor-launchpad.
This fix seems to break builds that aren't currently using this flag
Please have a look to check if this experience is consistent across board
from meteor-launchpad.
I'm going to assume this is working for everyone and close this issue. Feel free to reopen if there's an issue related to these changes.
Also, note the new build arg options that were just added in v1.3.0
https://github.com/jshimko/meteor-launchpad#build-options
from meteor-launchpad.
The issue remains
from meteor-launchpad.
Related Issues (20)
- Update to debian stable HOT 13
- Oracle jdbc driver HOT 2
- yarn: command not found HOT 4
- Adding settings.json to .dockerignore? HOT 2
- can't find entrypoint.sh HOT 2
- Hot code push to browser
- Failed to build container due to removal of Wheezy and Jessie from mirrors HOT 1
- Build failed - 404 HOT 1
- Meteor installation fails on Windows
- New Debian Release HOT 1
- 'p80.pool.sks-keyservers.net: Host not found' HOT 4
- Should Gosu vesrion be configurable
- Docker build fails when installing gosu
- E: The repository 'http://security.debian.org/debian-security stable/updates Release' does not have a Release file. HOT 3
- Redirect to https localhost
- E: Unable to locate package libarchive-tools HOT 4
- Meteor requires Node v14.0.0 or later. HOT 2
- docker build fails - HOT 4
- Package 'python' has no installation candidate HOT 1
- E: Package 'python' has no installation candidate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-launchpad.