Skip to content

Instantly share code, notes, and snippets.

@mandarjog
Created December 13, 2021 19:36
Show Gist options
  • Save mandarjog/fe4407876452e610b3cbf3d348af34b7 to your computer and use it in GitHub Desktop.
Save mandarjog/fe4407876452e610b3cbf3d348af34b7 to your computer and use it in GitHub Desktop.
Repackage dockerfile
#
# $ tree
#
# ├── Dockerfile
# └── gcp_envoy_bootstrap.json. --> update and copy the file here.
# To build an image
# $ export IMAGE_NAME=gcr.io/gke-release/asm/proxyv2:1.11.2-asm.17-modified-1
# $ docker build -t ${IMAGE_NAME} .
# $ docker push ${IMAGE_NAME}
# FROM should include whatver base image you want.
FROM gcr.io/gke-release/asm/proxyv2:1.11.2-asm.17
COPY gcp_envoy_bootstrap.json /var/lib/istio/envoy/gcp_envoy_bootstrap_tmpl.json
# The following line ensures that this image will use the gcp file by default.
# In absence of this line, update
ENV ISTIO_BOOTSTRAP=/var/lib/istio/envoy/gcp_envoy_bootstrap_tmpl.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment