🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(ai-gateway): update container bases to Debian Trixie (#17773)
Hassieb Pakzadb8359904e832
diff --git a/.github/workflows/_deploy_ecs_service.yml b/.github/workflows/_deploy_ecs_service.ymlindex 1bbd3efd16..bb07fe7cd7 100644--- a/.github/workflows/_deploy_ecs_service.yml+++ b/.github/workflows/_deploy_ecs_service.yml@@ -55,6 +55,7 @@ jobs:IMAGE_TAG: ${{ github.sha }}run: |docker build \+ --pull \--platform linux/amd64 \--target runtime \--build-arg BUILD_ID="$IMAGE_TAG" \diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex a74c8d83ef..78ec5b4cf5 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -201,7 +201,7 @@ jobs:- name: Run Rust testsrun: cargo test --locked- name: Build runtime image- run: docker build --target runtime -t langfuse-ai-gateway:test .+ run: docker build --pull --target runtime -t langfuse-ai-gateway:test .- name: Smoke test runtime imagerun: bash scripts/smoke-image.sh langfuse-ai-gateway:testdiff --git a/ai-gateway/Dockerfile b/ai-gateway/Dockerfileindex c82ae0571f..8e656645e0 100644--- a/ai-gateway/Dockerfile+++ b/ai-gateway/Dockerfile@@ -1,4 +1,4 @@-FROM rust:1.98.0-bookworm AS builder+FROM rust:1.98.0-trixie AS builderRUN useradd --create-home --uid 10001 gateway && mkdir /app && chown gateway:gateway /appWORKDIR /appENV CARGO_HOME=/home/gateway/.cargo@@ -7,7 +7,7 @@ COPY --chown=gateway:gateway Cargo.toml Cargo.lock rust-toolchain.toml ./COPY --chown=gateway:gateway src ./srcRUN cargo build --release --locked-FROM debian:bookworm-slim AS runtime+FROM debian:trixie-slim AS runtimeRUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget \&& rm -rf /var/lib/apt/lists/*COPY --from=builder /app/target/release/ai-gateway /usr/local/bin/ai-gateway