fix: distroless
This commit is contained in:
parent
cb8b3df2d2
commit
2971d33915
3 changed files with 6 additions and 6 deletions
|
@ -13,7 +13,7 @@ RUN set -ex \
|
|||
-o /go/bin/sing-box \
|
||||
-ldflags "-X \"github.com/sagernet/sing-box/constant.Version=$VERSION\" -s -w -buildid=" \
|
||||
./cmd/sing-box
|
||||
FROM gcr.io/distroless/static-debian11:nonroot AS dist
|
||||
FROM gcr.io/distroless/static-debian11:latest AS dist
|
||||
LABEL maintainer="Evans Mike <etnperlong@gmail.com>"
|
||||
COPY --from=builder /go/bin/sing-box /
|
||||
CMD ["/sing-box"]
|
||||
ENTRYPOINT ["/sing-box"]
|
|
@ -13,7 +13,7 @@ RUN set -ex \
|
|||
-o /go/bin/sing-box \
|
||||
-ldflags "-X \"github.com/sagernet/sing-box/constant.Version=$VERSION\" -s -w -buildid=" \
|
||||
./cmd/sing-box
|
||||
FROM gcr.io/distroless/static-debian11:nonroot AS dist
|
||||
FROM gcr.io/distroless/static-debian11:latest AS dist
|
||||
LABEL maintainer="Evans Mike <etnperlong@gmail.com>"
|
||||
COPY --from=builder /go/bin/sing-box /
|
||||
CMD ["/sing-box"]
|
||||
ENTRYPOINT ["/sing-box"]
|
|
@ -13,7 +13,7 @@ RUN set -ex \
|
|||
-o /go/bin/sing-box \
|
||||
-ldflags "-X \"github.com/sagernet/sing-box/constant.Version=$VERSION\" -s -w -buildid=" \
|
||||
./cmd/sing-box
|
||||
FROM gcr.io/distroless/static-debian11:nonroot AS dist
|
||||
FROM gcr.io/distroless/static-debian11:latest AS dist
|
||||
LABEL maintainer="Evans Mike <etnperlong@gmail.com>"
|
||||
COPY --from=builder /go/bin/sing-box /
|
||||
CMD ["/sing-box"]
|
||||
ENTRYPOINT ["/sing-box"]
|
Loading…
Reference in a new issue