Update Dockerfile to fix warnings (#500)

This commit is contained in:
Dougal Ballantyne 2025-05-31 21:27:29 -07:00 committed by GitHub
parent 2e47d41a8c
commit 93224ed551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
# build docker image for arch gateway
FROM rust:1.82.0 as builder
FROM rust:1.82.0 AS builder
RUN rustup -v target add wasm32-wasip1
WORKDIR /arch
COPY crates .
@ -8,10 +8,10 @@ RUN cargo build --release --target wasm32-wasip1 -p prompt_gateway -p llm_gatewa
RUN cargo build --release -p brightstaff
# copy built filter into envoy image
FROM docker.io/envoyproxy/envoy:v1.32-latest as envoy
FROM docker.io/envoyproxy/envoy:v1.32-latest AS envoy
#Build config generator, so that we have a single build image for both Rust and Python
FROM python:3.12-slim as arch
FROM python:3.12-slim AS arch
RUN apt-get update && apt-get install -y supervisor gettext-base curl && apt-get clean && rm -rf /var/lib/apt/lists/*