Created
April 19, 2023 20:45
-
-
Save robd003/62066753c6254b299b9b7135d254d806 to your computer and use it in GitHub Desktop.
Envoy 1.25.4 Dockerfile for Emissary-Ingress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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