jshimko / meteor-launchpad

A base Docker image for Meteor applications.
https://hub.docker.com/r/jshimko/meteor-launchpad/
MIT License
276 stars 152 forks source link

Need help on install libpq #24

Closed jvallarvisp closed 7 years ago

jvallarvisp commented 7 years ago

Hi @jshimko,

I like the way you can add build options on the launchpad.conf

Is there a way to add this dependencies?

apt-get install libpq-dev

Can this be add on this docker image?

This is regarding mup error deployment failed on libpq and bycript

Can this be used by meteor up? I am having an error using docker image

Started TaskList: Pushing Meteor
[35.161.182.5] - Pushing Meteor App Bundle to The Server
[35.161.182.5] - Pushing Meteor App Bundle to The Server: SUCCESS
[35.161.182.5] - Pushing the Startup Script
[35.161.182.5] - Pushing the Startup Script: SUCCESS

Started TaskList: Configuring  Meteor Environment Variables
[35.161.182.5] - Sending Environment Variables
[35.161.182.5] - Sending Environment Variables: SUCCESS

Started TaskList: Start Meteor
[35.161.182.5] - Start Meteor
[35.161.182.5] x Start Meteor: FAILED

    -----------------------------------STDERR-----------------------------------
    Error response from daemon: No such container: UBOApollo-frontend
    docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"./entrypoint.sh\\\": stat ./entrypoint.sh: no such file or directory\"\n".
    -----------------------------------STDOUT-----------------------------------
     exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    d5ef090d63fc: Already exists
    cd3b8f133612: Already exists
    06fc68af5ec4: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    a3ed95caeb02: Already exists
    Digest: sha256:059b6c5648f9e1e0da41fbeb4ad05693e2103dd833b6e8568f23b029c03b94fc
    Status: Image is up to date for jshimko/meteor-launchpad:latest
    d528ad6b0eb7b427639412f2f51791562f23b3a5221b364c21c3350495e9a266
    ----------------------------------------------------------------------------

Thanks for your help.

jshimko commented 7 years ago

You can add that to your Dockerfile.

FROM jshimko/meteor-launchpad:latest

RUN apt-get update && apt-get install -y libpq-dev
jvallarvisp commented 7 years ago

Thanks @jshimko, I will try your suggestion, Anyway, is your docker image works on the Meteorup? for some reason, I am having error. Please check the logs above. Thanks a lot.

jshimko commented 7 years ago

I don't know what meteor-up supports. I don't use the project, so I can't offer any support. You'll have to ask over there.

Since there isn't a specific issue with this project, I'm going to close this for now. Good luck!