import { dockerContainers as elasticDockerContainer } from '../../generator-constants.mjs';
import { dockerPlaceholderGenerator, getDockerfileContainers } from '../../docker/utils.mjs';
export async function loadDockerDependenciesTask({ context = this } = {}) {
    const dockerfile = this.readTemplate(this.jhipsterTemplatePath('../../server/resources/Dockerfile'));
    context.dockerContainers = this.prepareDependencies({
        ...elasticDockerContainer,
        ...getDockerfileContainers(dockerfile),
    }, dockerPlaceholderGenerator);
}
