Laurent Goderre

Results 475 comments of Laurent Goderre

The complexity this would bring kind of scares me.

@valeriangalliat I like your approach but in the current setup, that would mean building the alpine images twice because different images are not aware of each other.

How much space is saved on Debian?

How is the container created? I believe that when using CMD, it bypasses the entrypoint script.

The last condition doesn't run in Node context if it is the name of in executable in path.

I don't think you should be running the entrypoint script for your image. The entrypoint is for instancd where you use the container to run Node as an executable in...

Here's the documentation on how to do this: https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#node-gyp-alpine

The network context is somewhat different in the build context. Are you using any proxy or anything?

@greenled I think the default DNS for docker is 8.8.8.8 which wouldn't work for your local site. You might need to add your local DNS to the docker config.