api/server: build: use locally scoped variables
api/server: build: use locally scoped variables

Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

kojiromike/docker,Ramzec/docker,flavio/docker,cpuguy83/docker,SvenDowideit/docker,kojiromike/docker,nawawi/docker,moul/docker,thaJeztah/docker,konstruktoid/docker-upstream,djs55/docker,yosifkit/docker,yosifkit/docker,thaJeztah/docker,SvenDowideit/docker,paralin/docker,ibuildthecloud/docker,Mokolea/docker,thaJeztah/docker,jvanz/docker,trebonian/docker,mahak/docker,ibuildthecloud/docker,gnailuy/docker,AkihiroSuda/docker,nalind/docker,nalind/docker,konstruktoid/docker-upstream,gnailuy/docker,jimjag/docker,vdemeester/docker,bearstech/moby,moul/docker,ibuildthecloud/docker,flavio/docker,jimjag/docker,jthelin/docker,nawawi/docker,jvanz/docker,dims/docker,estesp/docker,jimjag/docker,bearstech/moby,cpuguy83/docker,pradipd/moby,Mokolea/docker,jimjag/docker,Mokolea/docker,vdemeester/docker,trebonian/docker,Ramzec/docker,mahak/docker,AkihiroSuda/docker,jvanz/docker,konstruktoid/docker-1,ibuildthecloud/docker,djs55/docker,gnailuy/docker,vdemeester/docker,cpuguy83/docker,konstruktoid/docker-1,mahak/docker,konstruktoid/docker-upstream,gnailuy/docker,flavio/docker,konstruktoid/docker-1,estesp/docker,estesp/docker,trebonian/docker,moul/docker,bearstech/moby,moby/moby,docker/docker,Ramzec/docker,yosifkit/docker,Mokolea/docker,pradipd/moby,flavio/docker,SvenDowideit/docker,moul/docker,konstruktoid/docker-upstream,justincormack/docker,moby/moby,kojiromike/docker,justincormack/docker,cpuguy83/docker,pradipd/moby,jameszhan/docker,nawawi/docker,yosifkit/docker,Ramzec/docker,dims/docker,moby/moby,moby/moby,djs55/docker,jameszhan/docker,thaJeztah/docker,mahak/docker,docker/docker,paralin/docker,trebonian/docker,AkihiroSuda/docker,ibuildthecloud/docker,jameszhan/docker,AkihiroSuda/docker,dims/docker,paralin/docker,justincormack/docker,bearstech/moby,paralin/docker,nalind/docker,jthelin/docker,docker/docker,nalind/docker,nawawi/docker