Strip the binaries further to reduce size

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-25 11:43:54 +05:30
parent 82f90edec7
commit 7ffa1bdabf
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -38,6 +38,9 @@ RUN nimble build --passL:-L/usr/lib \
--opt:speed \
--accept
RUN strip -s /app/nim_censor_bot && \
strip -R .comment -R .note -R .note.ABI-tag /app/nim_censor_bot
# Our binary lives in this image
FROM gcr.io/distroless/base:latest