Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
docker-image-recipes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2b17eb2d
authored
2017-09-20 10:34:51 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Make certain to set npm proxy variables.
1 parent
5604d6da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
node/files/entrypoint
node/files/entrypoint
View file @
2b17eb2
...
...
@@ -17,6 +17,11 @@ find "$node_home" \
'('
-not -group node -exec chgrp node
'{}'
+
')'
-o
\
-true
npm -g config
set
http_proxy
"
$http_proxy
"
npm -g config
set
https_proxy
"
$http_proxy
"
sudo -u node npm config
set
http_proxy
"
$http_proxy
"
sudo -u node npm config
set
https_proxy
"
$http_proxy
"
if
[[
-e package.json
]]
;
then
sudo -u node npm install
fi
...
...
Please
register
or
sign in
to post a comment