We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f49cf55 commit d8d8a6dCopy full SHA for d8d8a6d
Dockerfile
@@ -6,7 +6,7 @@ WORKDIR /
6
RUN git clone https://github.com/coredns/coredns && cd coredns && git checkout 7d5f5b87a4fb310d442f7ef0d52e3fead0e10d39
7
COPY . /k8s_dns_chaos
8
# RUN ln -s /k8s_dns_chaos /coredns/plugin/k8s_dns_chaos
9
-RUN echo "k8s_dns_chaos:github.com/chaos-mesh/k8s_dns_chaos" >> /coredns/plugin.cfg
+RUN sed -i '/kubernetes/a\k8s_dns_chaos:github.com/chaos-mesh/k8s_dns_chaos' /coredns/plugin.cfg
10
RUN cd coredns && \
11
go mod edit -require github.com/chaos-mesh/[email protected] && \
12
go mod edit -replace github.com/chaos-mesh/k8s_dns_chaos=/k8s_dns_chaos && \
0 commit comments