mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
bring back agent routing
This commit is contained in:
parent
aa1e42068a
commit
22e936fe6e
3 changed files with 34 additions and 24 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# build filter using rust toolchain
|
||||
# build docker iamge for arch gateway
|
||||
FROM rust:1.82.0 as builder
|
||||
RUN rustup -v target add wasm32-wasip1
|
||||
WORKDIR /arch
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
# build filter using rust toolchain
|
||||
FROM rust:1.82.0 as builder
|
||||
WORKDIR /arch
|
||||
COPY crates .
|
||||
|
||||
RUN cd brightstaff && cargo build --release
|
||||
|
||||
# copy built filter into envoy image
|
||||
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
|
||||
|
||||
RUN apt-get update && apt-get install -y gettext-base curl && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /arch/target/release/brightstaff /app/brightstaff
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENTRYPOINT ["sh","-c", "./brightstaff 2>&1 | tee /var/log/brightstaff.log"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue