Add dependencies for docker in docker. Fix the aufs startup command. Fix a bug in the buildserver.

This commit is contained in:
yackob03 2013-10-25 20:08:02 -04:00
parent 660a931d6b
commit 89df3d10be
3 changed files with 3 additions and 3 deletions

View file

@ -147,7 +147,7 @@ def start_build():
# Save the token
host = re.match(r'([a-z0-9.:]+)/.+/.+$', tag_name)
if host:
docker_endpoint = 'http://%s/v1/' % host.group(0)
docker_endpoint = 'http://%s/v1/' % host.group(1)
dockercfg_path = os.path.join(os.environ.get('HOME', '.'), '.dockercfg')
token = b64encode('$token:%s' % acccess_token)
with open(dockercfg_path, 'w') as dockercfg: