Build Meteor in Docker cannot go through proxy setup

I use the latest Nodejs image as the base image for creating a meteor project. Docker is behind the corporate proxy.

I tried curl and npm install -g. Both of them can go through a proxy server and download packets.

However, when I try to use the meteor update, an error message appears:

Failed to update the package directory (are you offline?) => Errors when updating the packages: Error: the tunnel socket could not be installed, reason = socket hang

Then the next step is to use run meteor build, and sometimes I get an error like

error: tunnel socket could not be installed, call = 140434436118336: error: 140770FC: SSL Routines: SSL23_GET_SERVER_HELLO: unknown Protocol: ../ Deps / OpenSSL / OpenSSL / SSL / s23_clnt.c: 795:

I am testing proxy setting, echo before I run the meteorite command. This is correctly shown.

Can anyone help? In meteor states, there are bug fixes that the meteor can use the http_proxy setting. https://github.com/meteor/meteor/commit/3177d9ad416ae97a98a2b8c4b2b40a9fc03f6b9c

+4
source share
1 answer

, , , - ( OSX).

$ docker-machine restart dev

node, - , Fibers, , , FROM node:0.10.40

0

All Articles