mirror of
https://github.com/11notes/docker-bind.git
synced 2025-10-23 16:14:11 +00:00
[feature] smaller image size
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user