Skip to content

Instantly share code, notes, and snippets.

Created April 9, 2020 19:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
# Copy Camunda base image from Dockerhub image into Google Container Registry
module "docker-mirror-camunda-bpm-platform" {
source = ""
image_name = local.config.base_image_name
image_tag = local.config.base_image_tag
dest_prefix = "${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