diff --git a/examples/dynamic-config-cp/Dockerfile-control-plane b/examples/dynamic-config-cp/Dockerfile-control-plane index 3d475c734421..cc676ae2412f 100644 --- a/examples/dynamic-config-cp/Dockerfile-control-plane +++ b/examples/dynamic-config-cp/Dockerfile-control-plane @@ -6,7 +6,7 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* -RUN git clone https://github.com/envoyproxy/go-control-plane +RUN git clone https://github.com/envoyproxy/go-control-plane && cd go-control-plane && git checkout b4adc3bb5fe5288bff01cd452dad418ef98c676e ADD ./resource.go /go/go-control-plane/internal/example/resource.go -RUN cd go-control-plane && git checkout b4adc3bb5fe5288bff01cd452dad418ef98c676e && make bin/example +RUN cd go-control-plane && make bin/example WORKDIR /go/go-control-plane