mirror of
https://github.com/11notes/docker-bind.git
synced 2025-10-30 11:23:30 +00:00
[feature] smaller image size
This commit is contained in:
@@ -80,6 +80,12 @@ ARG APP_GID=1000
|
|||||||
cd ${BUILD_ROOT}; \
|
cd ${BUILD_ROOT}; \
|
||||||
make install;
|
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
|
# :: Header
|
||||||
FROM 11notes/alpine:stable
|
FROM 11notes/alpine:stable
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user