diff --git a/Dockerfile b/Dockerfile index 527fab8..209af4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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