From 345892f623d10d13a61208d03d8c87bf62d96f2a Mon Sep 17 00:00:00 2001 From: ElevenNotes Date: Thu, 1 May 2025 08:04:15 +0200 Subject: [PATCH] [feature] smaller image size --- arch.dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch.dockerfile b/arch.dockerfile index 904f9c0..7a960bc 100644 --- a/arch.dockerfile +++ b/arch.dockerfile @@ -80,6 +80,12 @@ ARG APP_GID=1000 cd ${BUILD_ROOT}; \ make install; + RUN set -ex; \ + # start stripping + find /opt/bind/bin -type f -executable -exec eleven strip {} ";" ; \ + find /opt/bind/sbin -type f -executable -exec eleven strip {} ";" ; \ + find /opt/bind/ -name *.so -exec strip -v {} &> /dev/null ";" ; + # :: Header FROM 11notes/alpine:stable