From 4de80688b9567796c270c2f2fddf41021ddd65f6 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 5 Mar 2024 15:22:41 -0800 Subject: [PATCH] Revert "Install perf on collab image (#8910)" Keep the removal of the collab resource requests. This reverts commit ce6bde5a242909834341998a49eeb7f95191ff75. --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93eac61291..704a00adb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax = docker/dockerfile:1.2 -FROM rust:1.76-bookworm as builder +FROM rust:1.76-bullseye as builder WORKDIR app COPY . . @@ -20,12 +20,9 @@ RUN --mount=type=cache,target=./target \ cp /app/target/release/collab /app/collab # Copy collab server binary to the runtime image -FROM debian:bookworm-slim as runtime +FROM debian:bullseye-slim as runtime RUN apt-get update; \ - apt-get install -y --no-install-recommends \ - libcurl4-openssl-dev \ - ca-certificates \ - linux-perf + apt-get install -y --no-install-recommends libcurl4-openssl-dev ca-certificates WORKDIR app COPY --from=builder /app/collab /app/collab COPY --from=builder /app/crates/collab/migrations /app/migrations