Skip to content

Commit

Permalink
Strip binary and save 8MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Apr 13, 2023
1 parent 81ba0f8 commit 2236c5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM golang:1.20 AS builder

WORKDIR /go/src/github.com/fi-ts/gardener-extension-authn
COPY . .
RUN make install
RUN make install \
&& strip /go/bin/gardener-extension-authn

FROM alpine:3.17
WORKDIR /
Expand Down

0 comments on commit 2236c5f

Please sign in to comment.