From 93224ed5514eebe3f743c8ca39c7b4a2b43fb447 Mon Sep 17 00:00:00 2001 From: Dougal Ballantyne Date: Sat, 31 May 2025 21:27:29 -0700 Subject: [PATCH] Update Dockerfile to fix warnings (#500) --- arch/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/Dockerfile b/arch/Dockerfile index b3117630..53a20c0e 100644 --- a/arch/Dockerfile +++ b/arch/Dockerfile @@ -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/*