Skip to content

Instantly share code, notes, and snippets.

@robd003
Created April 19, 2023 20:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robd003/62066753c6254b299b9b7135d254d806 to your computer and use it in GitHub Desktop.
Save robd003/62066753c6254b299b9b7135d254d806 to your computer and use it in GitHub Desktop.
Envoy 1.25.4 Dockerfile for Emissary-Ingress
FROM envoyproxy/envoy-build-ubuntu:458cb49ca2013c0ccf057d00ad1d4407920c4e52 as envoy-factory
ENV ENVOY_SRCDIR="/datawire-envoy"
RUN bash -c 'rm /bin/sh && ln -s /bin/bash /bin/sh'
RUN git clone --recursive https://github.com/datawire/envoy.git /datawire-envoy \
&& cd /datawire-envoy \
&& git checkout rebase/release/v1.25.4 \
&& git pull \
&& mkdir -p /build \
&& ./ci/do_ci.sh bazel.sizeopt.server_only \
&& mkdir -p /artifacts \
&& cd /build/envoy \
&& strip source/exe/envoy/envoy \
&& mv source/exe/envoy/envoy /artifacts/envoy-static-stripped \
&& rm -rf /build /datawire-envoy /tmp/* \
&& echo "" \
&& echo "Built Envoy version: $(/artifacts/envoy-static-stripped --version | awk '{ print $(NF) }')" \
&& echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment