Skip to content

Commit f5ccbc8

Browse files
ggreenwaySnow Pettersen
and
Snow Pettersen
authored
examples: pin version of go-control-plane (envoyproxy#17553) (envoyproxy#17683)
Re-ordered the operations from how it was done in envoyproxy#17553 to fix an error regarding the `git checkout` would lose local changes to `resource.go`. Changed the pinned version to one from the 1.19 release. Co-authored-by: Snow Pettersen <snowp@lyft.com> (cherry picked from commit 38b6fd5, PR envoyproxy#17553) Signed-off-by: Greg Greenway <ggreenway@apple.com>
1 parent 68920f7 commit f5ccbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dynamic-config-cp/Dockerfile-control-plane

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt-get update \
66
&& apt-get clean \
77
&& rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
88

9-
RUN git clone https://github.com/envoyproxy/go-control-plane
9+
RUN git clone https://github.com/envoyproxy/go-control-plane && cd go-control-plane && git checkout b19e718c57df1835047cfae67798ac861eb8847e
1010
ADD ./resource.go /go/go-control-plane/internal/example/resource.go
1111
RUN cd go-control-plane && make bin/example
1212
WORKDIR /go/go-control-plane

0 commit comments

Comments
 (0)