Add dependencies for docker in docker. Fix the aufs startup command. Fix a bug in the buildserver.
This commit is contained in:
parent
660a931d6b
commit
89df3d10be
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Reference in a new issue