Skip to content

Instantly share code, notes, and snippets.

@kechol
Created August 9, 2020 07:45
Show Gist options
  • Save kechol/c4c4a3037d474c289d1bf36dc81dce2f to your computer and use it in GitHub Desktop.
Save kechol/c4c4a3037d474c289d1bf36dc81dce2f to your computer and use it in GitHub Desktop.
envsubst cloud builder
steps:
- name: "gcr.io/cloud-builders/docker"
args: ["build", "-t", "gcr.io/$PROJECT_ID/envsubst", "."]
- name: "gcr.io/$PROJECT_ID/envsubst"
args: ["--version"]
images:
- "gcr.io/$PROJECT_ID/envsubst"
tags: ["cloud-builders-community"]
FROM alpine:latest
RUN apk add --no-cache bash gettext
ENTRYPOINT ["/usr/bin/envsubst"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment