Skip to content

Commit

Permalink
Merge pull request #1 from johnbellone/master
Browse files Browse the repository at this point in the history
Apply an HTTP_PROXY for us corporate shills.
  • Loading branch information
bflad committed Jul 3, 2013
2 parents 5da9436 + ff6b7c0 commit 2a95fea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/default/docker.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ start on runlevel [3]
respawn

script
<% if node['docker']['http_proxy'] %>
env HTTP_PROXY=<%= node['docker']['http_proxy'] %>
<% end %>
test -f /etc/default/locale && . /etc/default/locale || true
LANG=$LANG LC_ALL=$LANG <%= node['docker']['install_dir'] %>/docker -d
end script

0 comments on commit 2a95fea

Please sign in to comment.