Created
December 13, 2021 19:36
-
-
Save mandarjog/fe4407876452e610b3cbf3d348af34b7 to your computer and use it in GitHub Desktop.
Repackage dockerfile
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
# | |
# $ 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