From 04ae65c01390f22894d450c99f8fa16c2e6dc33a Mon Sep 17 00:00:00 2001 From: pshem Date: Thu, 14 Mar 2019 11:51:15 +0000 Subject: [PATCH] Don't include static libraries in mysql images Static libraries have been removed from `mysql` images. This speeds up the build process and shrinks the resulting image. All credit for the idea to @wkozaczuk, based on https://github.com/cloudius-systems/osv-apps/pull/64#issuecomment-472530386 --- mysql/GET | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql/GET b/mysql/GET index 788f86e6f..962afd225 100755 --- a/mysql/GET +++ b/mysql/GET @@ -46,3 +46,5 @@ echo " /usr/data/**: ${ROOTDIR}/usr/data/** /usr/bin/mysqld: ${BUILDDIR}/sql/mysqld " > usr.manifest + +find $ROOTDIR -name '*.a' -exec rm '{}' +