Skip to content
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

apt-get install from launchpad.conf #40

Closed
wants to merge 4 commits into from

Conversation

JasonDeArte
Copy link

This update extends the existing launchpad.conf file to allow the user to install additional apt-get packages that their npm dependencies require

For example: if a user of nodegit requires libssl to be installed before the application is built, they can update their local launchpad.conf with
INSTALL_APTGET_PACKAGES=libssl-dev

@jshimko
Copy link
Owner

jshimko commented May 16, 2017

I'm out of the country this week, but I'll take a closer look at this next week when I'm back home.

Thanks!

@jshimko
Copy link
Owner

jshimko commented May 26, 2017

Version 1.3.0 just added this functionality. You can set APT_GET_INSTALL in your launchpad.conf...

APT_GET_INSTALL="libssl-dev curl anything else"

or you can use Docker build args...

docker build \
  --build-arg APT_GET_INSTALL="libssl-dev curl anything else" \
  --build-arg INSTALL_MONGO=true \
  --build-arg NODE_VERSION=4.7.2 \
  -t myorg/myapp:latest .

See the readme for more detail.

https://github.com/jshimko/meteor-launchpad#build-options

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants