Skip to content

Commit

Permalink
no neeeds strip dependency_resolve binary
Browse files Browse the repository at this point in the history
  • Loading branch information
zeriyoshi committed Jul 26, 2024
1 parent 3649df4 commit 2c1fd6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ FROM --platform="${PLATFORM}" golang:latest AS golang

COPY "./dependency_resolve" "/dependency_resolve"

RUN apt-get update && apt-get install -y "binutils" \
&& cd "/dependency_resolve" \
RUN cd "/dependency_resolve" \
&& go build -o="/usr/local/bin/dependency_resolve" . \
&& cd - \
&& strip --strip-all "/usr/local/bin/dependency_resolve" \
&& dependency_resolve -v

FROM --platform="${PLATFORM}" debian:12
Expand Down

0 comments on commit 2c1fd6b

Please sign in to comment.