Skip to content

Commit

Permalink
Fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Oct 11, 2024
1 parent fedd571 commit fe3c2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV GOARCH=$TARGETARCH
RUN set -ex \
&& apk add git build-base \
&& export COMMIT=$(git rev-parse --short HEAD) \
&& export VERSION=$(go run ./cmd/internal/read_tag) \
&& export VERSION=$(go run github.com/sagernet/sing-box/cmd/internal/read_tag@latest) \
&& go build -v -trimpath \
-o /go/bin/serenity \
-ldflags "-X \"github.com/sagernet/serenity/cmd/serenity.Version=$VERSION\" -s -w -buildid=" \
Expand Down

0 comments on commit fe3c2b4

Please sign in to comment.