Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit debd3bd

Browse files
committed
Failed to link statically
1 parent 9f497bd commit debd3bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/keybase/Dockerfile.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ COPY --link --from=go / /
1414
WORKDIR /go/src/github.com/keybase/client
1515
ARG name
1616
ARG version
17+
# Unable to create statically linked binary
18+
# - No effect of -ldflags "-s -w"
19+
# - Fails with CGO_ENABLED=0
1720
RUN <<EOF
1821
git clone -q --config advice.detachedHead=false --depth 1 --branch "v${version}" https://github.com/keybase/client .
1922
cd go

0 commit comments

Comments
 (0)