make sure envoy is pid 1 (#1246)

This ensures signals are handled properly so docker stop respond quickly and properly and don't need to wait for time out (10s by default)
This commit is contained in:
ericb-summit 2022-05-24 17:22:12 -04:00 committed by GitHub
parent 1779661dde
commit ef287fa478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -16,4 +16,5 @@ FROM envoyproxy/envoy:v1.22.0
COPY net/grpc/gateway/examples/echo/envoy.yaml /etc/envoy/envoy.yaml
CMD /usr/local/bin/envoy -c /etc/envoy/envoy.yaml -l trace --log-path /tmp/envoy_info.log
ENTRYPOINT [ "/usr/local/bin/envoy" ]
CMD [ "-c /etc/envoy/envoy.yaml", "-l trace", "--log-path /tmp/envoy_info.log" ]