|
19 | 19 | # Gateway Runtime Dockerfile |
20 | 20 | # Combines Envoy Router and Policy Engine into a single container |
21 | 21 |
|
| 22 | +# Envoy base image version — referenced by all stages that derive from envoyproxy/envoy. |
| 23 | +# Update here to bump Envoy across python-deps, debug, and production stages. |
| 24 | +ARG ENVOY_VERSION=v1.38.0 |
| 25 | + |
22 | 26 | # Stage 1: Builder Base |
23 | 27 | FROM --platform=$BUILDPLATFORM golang:1.26.2-bookworm AS builder-base |
24 | 28 | ARG BUILDARCH |
@@ -132,7 +136,7 @@ COPY --from=policy-compiler /api-platform/output/gateway-controller/policies / |
132 | 136 | # Uses the same base image as the production stage so that C extensions |
133 | 137 | # (e.g. grpcio) are compiled against the identical Python version and glibc. |
134 | 138 | # pip, venv, and git are installed here only — they are NOT copied to production. |
135 | | -FROM envoyproxy/envoy:v1.37.1 AS python-deps |
| 139 | +FROM envoyproxy/envoy:${ENVOY_VERSION} AS python-deps |
136 | 140 |
|
137 | 141 | ARG PYTHON_SDK_SOURCE=pypi |
138 | 142 |
|
@@ -180,7 +184,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \ |
180 | 184 | go install github.com/go-delve/delve/cmd/dlv@v1.26.0 |
181 | 185 |
|
182 | 186 | # Stage 3c: Debug Runtime (policy-engine wrapped in dlv, port 2346) |
183 | | -FROM envoyproxy/envoy:v1.37.1 AS debug |
| 187 | +FROM envoyproxy/envoy:${ENVOY_VERSION} AS debug |
184 | 188 |
|
185 | 189 | USER root |
186 | 190 | RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ |
@@ -218,7 +222,7 @@ EXPOSE 2346 8080 8443 9901 9002 9003 |
218 | 222 | ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/docker-entrypoint.sh"] |
219 | 223 |
|
220 | 224 | # Stage 4: Runtime (production — must remain last so default builds are unaffected) |
221 | | -FROM envoyproxy/envoy:v1.37.1 AS production |
| 225 | +FROM envoyproxy/envoy:${ENVOY_VERSION} AS production |
222 | 226 |
|
223 | 227 | ARG VERSION=unknown |
224 | 228 | ARG ENABLE_COVERAGE=false |
|
0 commit comments