GithubHelp home page GithubHelp logo

Comments (8)

jshimko avatar jshimko commented on May 22, 2024 1

@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.

kachizukanne avatar kachizukanne commented on May 22, 2024 1

Spot on, upgrading docker to a post 1.8 version fixed this

from meteor-launchpad.

jshimko avatar jshimko commented on May 22, 2024

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.

krismeister avatar krismeister commented on May 22, 2024
# 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.

jshimko avatar jshimko commented on May 22, 2024

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.

kachizukanne avatar kachizukanne commented on May 22, 2024

This fix seems to break builds that aren't currently using this flag
image

Please have a look to check if this experience is consistent across board

from meteor-launchpad.

jshimko avatar jshimko commented on May 22, 2024

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.

cjim8889 avatar cjim8889 commented on May 22, 2024

The issue remains

from meteor-launchpad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.