This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy Camunda base image from Dockerhub image into Google Container Registry | |
module "docker-mirror-camunda-bpm-platform" { | |
source = "github.com/neomantra/terraform-docker-mirror" | |
image_name = local.config.base_image_name | |
image_tag = local.config.base_image_tag | |
dest_prefix = "eu.gcr.io/${local.project}" | |
} | |
# Hydrate docker template file into .build directory | |
resource "local_file" "dockerfile" { | |
content = templatefile("${path.module}/Dockerfile.template", { | |
project = local.project | |
image = local.config.base_image_name | |
tag = local.config.base_image_tag | |
}) | |
filename = "${path.module}/.build/Dockerfile" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment