From 1a821ac831ca044ee21adf9323f9d2e967967c0f Mon Sep 17 00:00:00 2001 From: Giovanni Marzot Date: Mon, 23 Feb 2026 14:03:50 -0500 Subject: [PATCH] Remove hardcoded shared library copies from Docker build The explicit copies of libglog.so and libunwind.so from getdeps internal paths are fragile and unnecessary. The relay server binary is sufficient for the runtime stage. Co-Authored-By: Claude Opus 4.6 --- docker/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0dc9306a0..e47e4648b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -70,9 +70,7 @@ # Stage the binary and getdeps-built shared libs for the runtime image RUN INST_DIR=$(./build/fbcode_builder/getdeps.py show-inst-dir moxygen) && \ mkdir -p /staging/bin /staging/lib && \ - cp $INST_DIR/bin/moqrelayserver /staging/bin/ && \ - cp /tmp/fbcode_builder_getdeps-ZappZbuildZfbcode_builder-root/installed/*/lib/libglog.so* /staging/lib/ && \ - cp /tmp/fbcode_builder_getdeps-ZappZbuildZfbcode_builder-root/installed/*/lib/libunwind.so* /staging/lib/ + cp $INST_DIR/bin/moqrelayserver /staging/bin/ # Stage 2: Runtime FROM ubuntu:latest