mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
chore: do not static build anymore
This commit is contained in:
parent
75d9d9d560
commit
afbbfbbf83
@ -36,7 +36,7 @@ COPY . .
|
|||||||
COPY --from=builder /web/build ./web/build
|
COPY --from=builder /web/build ./web/build
|
||||||
|
|
||||||
RUN go build -trimpath \
|
RUN go build -trimpath \
|
||||||
-ldflags "-s -w -X 'github.com/songquanpeng/one-api/common.Version=$(cat VERSION)' -extldflags '-static'" \
|
-ldflags "-s -w -X 'github.com/songquanpeng/one-api/common.Version=$(cat VERSION)' \
|
||||||
-o one-api
|
-o one-api
|
||||||
|
|
||||||
# Final runtime image
|
# Final runtime image
|
||||||
|
Loading…
Reference in New Issue
Block a user