From c7b3c70ac355ced461a02e11c9a483959333ff6f Mon Sep 17 00:00:00 2001 From: Shantanu Mane Date: Tue, 16 Jun 2026 22:53:18 +0530 Subject: [PATCH] ci: drop `file` check from docker build verification - alpine builder has no `file` util, so the verify step exited 127 - ls -lh already confirms the binary exists; that is enough --- deploy/docker/mpiper.dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/docker/mpiper.dockerfile b/deploy/docker/mpiper.dockerfile index 06ce606..ec8eae1 100644 --- a/deploy/docker/mpiper.dockerfile +++ b/deploy/docker/mpiper.dockerfile @@ -34,8 +34,8 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \ -a -installsuffix cgo \ -o mpiper ./cmd/server/main.go -# Verify the binary was created -RUN ls -lh /build/mpiper && file /build/mpiper +# Verify the binary was created (the alpine builder has no `file` util) +RUN ls -lh /build/mpiper # Stage 2: Runtime - Minimal distroless image FROM gcr.io/distroless/static-debian12:nonroot