Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Install perf on collab image (#8910)
Max Brunsfeldce6bde5a2429
diff --git a/Dockerfile b/Dockerfileindex 704a00adb53..93eac612911 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,6 +1,6 @@# syntax = docker/dockerfile:1.2-FROM rust:1.76-bullseye as builder+FROM rust:1.76-bookworm as builderWORKDIR appCOPY . .@@ -20,9 +20,12 @@ RUN --mount=type=cache,target=./target \cp /app/target/release/collab /app/collab# Copy collab server binary to the runtime image-FROM debian:bullseye-slim as runtime+FROM debian:bookworm-slim as runtimeRUN apt-get update; \- apt-get install -y --no-install-recommends libcurl4-openssl-dev ca-certificates+ apt-get install -y --no-install-recommends \+ libcurl4-openssl-dev \+ ca-certificates \+ linux-perfWORKDIR appCOPY --from=builder /app/collab /app/collabCOPY --from=builder /app/crates/collab/migrations /app/migrationsdiff --git a/crates/collab/k8s/collab.template.yml b/crates/collab/k8s/collab.template.ymlindex e1ec20b07ce..f0484bf57e6 100644--- a/crates/collab/k8s/collab.template.yml+++ b/crates/collab/k8s/collab.template.yml@@ -78,10 +78,6 @@ spec:port: 8080initialDelaySeconds: 1periodSeconds: 1- resources:- requests:- cpu: "20"- memory: "20Gi"env:- name: HTTP_PORTvalue: "8080"