From 7046010ff964b5959ab757b0c9640bf3fc410f6c Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 24 Mar 2023 16:52:20 -0700 Subject: [PATCH] docker/ubuntu/22.04: Delete unused librocksdb.a build artifact from base image. Thanks to Giovanni Bottaro. --- docker/ubuntu/22.04/base/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/ubuntu/22.04/base/Dockerfile b/docker/ubuntu/22.04/base/Dockerfile index 7c2dbc149..5cfb4357f 100644 --- a/docker/ubuntu/22.04/base/Dockerfile +++ b/docker/ubuntu/22.04/base/Dockerfile @@ -108,6 +108,7 @@ LDFLAGS="-Wl,--strip-all" \ cmake -H. -Bbuild ${rocksdb_cmake} \ && cmake --build build --target install --parallel `nproc` \ && rm -rf build \ +&& rm -rf /usr/lib/$(uname -m)-linux-gnu/librocksdb.a \ && eval ${do_purge} ${packages_rocksdb_dev} \ && eval ${do_clean} \ && true