func (d *Builder) deployBaseImage(blueprintName string, hs b.Homeserver, contextStr, networkID string) (*HomeserverDeployment, error) {
	asIDToRegistrationMap := asIDToRegistrationFromLabels(labelsForApplicationServices(hs))

	return deployImage(
		d.Docker, d.Config.BaseImageURI, d.CSAPIPort, fmt.Sprintf("complement_%s", contextStr),
		d.Config.PackageNamespace, blueprintName, hs.Name, asIDToRegistrationMap, contextStr,
		networkID, d.Config.VersionCheckIterations,
	)
}
// deployBaseImage runs the base image and returns the baseURL, containerID or an error.
deployBaseImage runs the base image and returns the baseURL, containerID or an error.
// deployBaseImage runs the base image and returns the baseURL containerID or an error .
func (d *Builder) deployBaseImage(blueprintName string, hs b.Homeserver, contextStr, networkID string) (*HomeserverDeployment, error) {
	asIDToRegistrationMap := asIDToRegistrationFromLabels(labelsForApplicationServices(hs))
	return deployImage(
		d.Docker, d.Config.BaseImageURI, d.CSAPIPort, fmt.Sprintf("complement_%s", contextStr),
		d.Config.PackageNamespace, blueprintName, hs.Name, asIDToRegistrationMap, contextStr,
		networkID, d.Config.VersionCheckIterations,
	)
}
func ( d * Builder ) deployBaseImage ( blueprintName string , hs b . Homeserver , contextStr , networkID string ) ( * HomeserverDeployment , error ) { asIDToRegistrationMap := asIDToRegistrationFromLabels ( labelsForApplicationServices ( hs ) ) return deployImage ( d . Docker , d . Config . BaseImageURI , d . CSAPIPort , fmt . Sprintf ( " " , contextStr ) , d . Config . PackageNamespace , blueprintName , hs . Name , asIDToRegistrationMap , contextStr , networkID , d . Config . VersionCheckIterations , ) }
deployBaseImage runs the base image and returns the baseURL, containerID or an error.
deployBaseImage runs the base image and returns the baseURL containerID or an error .