mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
update base image to python3.13 (#554)
This commit is contained in:
parent
5908ca6a16
commit
359b6fc4ab
2 changed files with 2 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ RUN cargo build --release -p brightstaff
|
|||
|
||||
FROM docker.io/envoyproxy/envoy:v1.34-latest AS envoy
|
||||
|
||||
FROM python:3.12-slim AS arch
|
||||
FROM python:3.13.6-slim AS arch
|
||||
# Purge PAM to avoid CVE-2025-6020 and install needed tools
|
||||
|
||||
# 1) Install what you need while apt still works
|
||||
|
|
@ -24,7 +24,6 @@ RUN set -eux; \
|
|||
dpkg -P --force-all libpam-modules libpam-modules-bin libpam-runtime libpam0g || true; \
|
||||
rm -rf /etc/pam.d /lib/*/security /usr/lib/security || true
|
||||
|
||||
|
||||
COPY --from=builder /arch/target/wasm32-wasip1/release/prompt_gateway.wasm /etc/envoy/proxy-wasm-plugins/prompt_gateway.wasm
|
||||
COPY --from=builder /arch/target/wasm32-wasip1/release/llm_gateway.wasm /etc/envoy/proxy-wasm-plugins/llm_gateway.wasm
|
||||
COPY --from=builder /arch/target/release/brightstaff /app/brightstaff
|
||||
|
|
@ -42,5 +41,3 @@ RUN pip install requests
|
|||
RUN mkdir -p /var/log/supervisor && touch /var/log/envoy.log /var/log/supervisor/supervisord.log
|
||||
|
||||
ENTRYPOINT ["sh","-c", "/usr/bin/supervisord"]
|
||||
# ENTRYPOINT ["sh","-c", "python config_generator.py && envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && envoy -c /etc/envoy.env_sub.yaml --log-level trace 2>&1 | tee /var/log/envoy.log"]
|
||||
# ENTRYPOINT ["sh","-c", "python config_generator.py && envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && envoy -c /etc/envoy.env_sub.yaml --component-log-level wasm:info 2>&1 | tee /var/log/envoy.log"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue