From 723d6cdeec3da23a022e40a1ba6f4ebfb88b77c4 Mon Sep 17 00:00:00 2001 From: Jimmy Song Date: Fri, 21 Sep 2018 00:11:16 +0800 Subject: [PATCH] fix prism style code format --- ...ar-injection-and-traffic-hijack-in-istio-service-mesh.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usecases/understand-sidecar-injection-and-traffic-hijack-in-istio-service-mesh.md b/usecases/understand-sidecar-injection-and-traffic-hijack-in-istio-service-mesh.md index e583e6043..d9bda5dd4 100644 --- a/usecases/understand-sidecar-injection-and-traffic-hijack-in-istio-service-mesh.md +++ b/usecases/understand-sidecar-injection-and-traffic-hijack-in-istio-service-mesh.md @@ -81,7 +81,7 @@ spec: 再查看下 `productpage` 容器的 [Dockerfile](https://github.com/istio/istio/blob/master/samples/bookinfo/src/productpage/Dockerfile)。 -```dockerfile +```docker FROM python:2.7-slim COPY requirements.txt ./ @@ -256,7 +256,7 @@ Istio 在 Pod 中注入的 Init 容器名为 `istio-init`,我们在上面 Isti 我们再检查下该容器的 [Dockerfile](https://github.com/istio/istio/blob/master/pilot/docker/Dockerfile.proxy_init) 看看 `ENTRYPOINT` 是什么以确定启动时执行的命令。 -```dockerfile +```docker FROM ubuntu:xenial RUN apt-get update && apt-get install -y \ iproute2 \ @@ -494,7 +494,7 @@ Chain ISTIO_REDIRECT (2 references) 首先查看 `proxyv2` 镜像的 [Dockerfile](https://github.com/istio/istio/blob/master/pilot/docker/Dockerfile.proxyv2)。 -```dockerfile +```docker FROM istionightly/base_debug ARG proxy_version ARG istio_version