Strip the binaries further to reduce size
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
82f90edec7
commit
7ffa1bdabf
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue