Skip to content

Commit 1a2c0f4

Browse files
committed
Fix envoy-jwt-auth-helper
While running through the envoy JWT tutorial I hit the following error in the envoy-jwt-auth-helper: /opt/helper/envoy-jwt-auth-helper: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by /opt/helper/envoy-jwt-auth-helper) The auth helper image builds with golang:latest (currently based on debian bookworm), then copies to a debian buster. This change fixes the issue by syncing the build and production stage images. Fixes: #136 Signed-off-by: Mark Goddard <mark@cofide.io>
1 parent d27c579 commit 1a2c0f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

k8s/envoy-jwt-auth-helper/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM golang:latest as build-stage
1+
FROM golang:bookworm as build-stage
22

33
WORKDIR /app
44
COPY . .
55
RUN go mod download
66
RUN go build
77

8-
FROM debian:buster-slim as production-stage
8+
FROM debian:bookworm-slim as production-stage
99
RUN apt update && DEBIAN_FRONTEND=noninteractive apt full-upgrade -y && \
1010
apt install -y dumb-init iputils-ping curl procps
1111

0 commit comments

Comments
 (0)